mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
b0be4708f0
Fix build of x11/libinput on GCC-based architectures. gnu90 is an alias for gnu89, but is not understood by all versions of GCC, most notably, our base version. Switch to use gnu89 instead. While here, adjust patch context a bit. A similar fix has been merged upstream. PR: 235361 Submitted by: Jan Beich (fix) Reported by: Piotr Kubaj (PR) MFH: 2019Q1 X-MFH-note: If applicable, 2019Q1 might have old libinput version
30 lines
910 B
Plaintext
30 lines
910 B
Plaintext
--- meson.build.orig 2019-01-21 01:28:48 UTC
|
|
+++ meson.build
|
|
@@ -145,6 +145,8 @@ endif
|
|
|
|
############ udev bits ############
|
|
|
|
+if false
|
|
+
|
|
executable('libinput-device-group',
|
|
'udev/libinput-device-group.c',
|
|
dependencies : [dep_udev, dep_libwacom],
|
|
@@ -182,6 +184,8 @@ litest_model_quirks_file = configure_file(input : 'ude
|
|
install : false,
|
|
configuration : litest_udev_rules_config)
|
|
|
|
+endif
|
|
+
|
|
############ libepoll-shim (BSD) ############
|
|
|
|
if cc.has_header_symbol('sys/epoll.h', 'epoll_create1', prefix : prefix)
|
|
@@ -634,7 +638,7 @@ executable('test-build-std-gnuc90',
|
|
'test/build-pedantic.c',
|
|
dependencies : [dep_udev],
|
|
include_directories : [includes_src, includes_include],
|
|
- c_args : ['-std=gnu90', '-Werror'],
|
|
+ c_args : ['-std=gnu89', '-Werror'],
|
|
install : false)
|
|
# test for linking with the minimal linker flags
|
|
executable('test-build-linker',
|