0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-10 13:55:33 +00:00
Files
termux-packages/packages/dbus/disable-pidfd-open.patch
2025-03-28 01:57:01 +00:00

23 lines
576 B
Diff

A way of reverting this upstream change:
https://gitlab.freedesktop.org/dbus/dbus/-/merge_requests/398
Fixes https://github.com/termux/termux-packages/issues/23981
--- a/meson.build
+++ b/meson.build
@@ -810,13 +810,7 @@ config.set('HAVE_FSTATFS',
)
)
-config.set10('HAVE_DECL_SYS_PIDFD_OPEN',
- cc.has_header_symbol(
- 'sys/syscall.h',
- 'SYS_pidfd_open',
- args: compile_args_c,
- )
-)
+config.set10('HAVE_DECL_SYS_PIDFD_OPEN', false)
###############################################################################
# Project options