termux-packages/x11-packages/qemu-system-x86-64/0016-disable-signalfd.patch
2022-04-24 23:38:59 +09:00

15 lines
573 B
Diff

diff -uNr qemu-6.1.0/meson.build qemu-6.1.0.mod/meson.build
--- qemu-6.1.0/meson.build 2021-08-25 21:20:39.873631512 +0300
+++ qemu-6.1.0.mod/meson.build 2021-08-25 21:21:35.135670419 +0300
@@ -1785,10 +1785,6 @@
return 0;
}''', dependencies: threads))
-config_host_data.set('CONFIG_SIGNALFD', cc.links(gnu_source_prefix + '''
- #include <sys/signalfd.h>
- #include <stddef.h>
- int main(void) { return signalfd(-1, NULL, SFD_CLOEXEC); }'''))
config_host_data.set('CONFIG_SPLICE', cc.links(gnu_source_prefix + '''
#include <unistd.h>
#include <fcntl.h>