Files
2026-10-04 04:07:15 +00:00

42 lines
2.1 KiB
INI

--- include/meson.build.orig 2025-12-21 14:53:30 UTC
+++ include/meson.build
@@ -139,7 +139,7 @@ conf_data.set('HAVE_CBRT', cc.has_function('cbrt') ? '
conf_data.set('HAVE_ARC4RANDOM_BUF', cc.has_function('arc4random_buf', dependencies: libbsd_dep) ? '1' : false)
conf_data.set('HAVE_BACKTRACE', cc.has_function('backtrace') ? '1' : false)
conf_data.set('HAVE_CBRT', cc.has_function('cbrt') ? '1' : false)
-conf_data.set('HAVE_EPOLL_CREATE1', cc.has_function('epoll_create1',dependencies:epoll_dep, prefix:'#include<sys/epoll.h>') ? '1' : false)
+conf_data.set('HAVE_EPOLL_CREATE1', cc.has_function('epoll_create1') ? '1' : false)
conf_data.set('HAVE_GETUID', cc.has_function('getuid') ? '1' : false)
conf_data.set('HAVE_GETEUID', cc.has_function('geteuid') ? '1' : false)
conf_data.set('HAVE_ISASTREAM', cc.has_function('isastream') ? '1' : false)
@@ -379,7 +379,7 @@ if host_machine.system() == 'freebsd' or host_machine.
xorg_data.set('HAVE_MODESETTING_DRIVER', build_modesetting ? '1' : false)
if host_machine.system() == 'freebsd' or host_machine.system() == 'dragonfly'
- if host_machine.cpu_family() == 'x86' or host_machine.cpu_family() == 'x86_64' or host_machine.cpu_family() == 'aarch64'
+ if host_machine.cpu_family() == 'x86' or host_machine.cpu_family() == 'x86_64' or host_machine.cpu_family() == 'aarch64' or host_machine.cpu_family() == 'arm'
xorg_data.set('USE_DEV_IO', '1')
endif
elif host_machine.system() == 'netbsd' or host_machine.system() == 'openbsd'
--- meson.build.orig 2025-12-21 14:53:30 UTC
+++ meson.build
@@ -506,10 +506,8 @@ if host_machine.system() in ['freebsd', 'openbsd', 'dr
if host_machine.system() in ['freebsd', 'openbsd', 'dragonfly']
epoll_dep = dependency('epoll-shim')
- epoll_inc = join_paths(epoll_dep.get_variable('prefix'), get_option('includedir'), 'libepoll-shim')
else
epoll_dep = []
- epoll_inc = ''
endif
have_eventfd = cc.has_header('sys/eventfd.h', dependencies: epoll_dep)
@@ -666,7 +664,6 @@ inc = include_directories(
'randr',
'render',
'xfixes',
- epoll_inc,
)
build_xselinux = false