diff options
Diffstat (limited to 'emulators/qemu/files/extra-patch-meson.build')
| -rw-r--r-- | emulators/qemu/files/extra-patch-meson.build | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/emulators/qemu/files/extra-patch-meson.build b/emulators/qemu/files/extra-patch-meson.build new file mode 100644 index 000000000000..5fc53eb7c6f6 --- /dev/null +++ b/emulators/qemu/files/extra-patch-meson.build @@ -0,0 +1,38 @@ +--- meson.build.orig 2025-12-03 21:35:34 UTC ++++ meson.build +@@ -2738,17 +2738,6 @@ have_inotify_init1 = cc.has_header_symbol('sys/inotify + + have_inotify_init = cc.has_header_symbol('sys/inotify.h', 'inotify_init') + have_inotify_init1 = cc.has_header_symbol('sys/inotify.h', 'inotify_init1') +-inotify = not_found +-if (have_inotify_init or have_inotify_init1) and host_os == 'freebsd' +- # libinotify-kqueue +- inotify = cc.find_library('inotify') +- if have_inotify_init +- have_inotify_init = inotify.found() +- endif +- if have_inotify_init1 +- have_inotify_init1 = inotify.found() +- endif +-endif + config_host_data.set('CONFIG_INOTIFY', have_inotify_init) + config_host_data.set('CONFIG_INOTIFY1', have_inotify_init1) + +@@ -5011,7 +5000,6 @@ if host_os == 'freebsd' + summary_info += {'selinux': selinux} + summary_info += {'libdw': libdw} + if host_os == 'freebsd' +- summary_info += {'libinotify-kqueue': inotify} + endif + if host_os == 'darwin' + summary_info += {'ParavirtualizedGraphics support': pvg} +--- util/meson.build.orig 2025-12-04 10:07:58 UTC ++++ util/meson.build +@@ -110,7 +110,6 @@ if have_block + if config_host_data.get('CONFIG_INOTIFY1') + freebsd_dep = [] + if host_os == 'freebsd' +- freebsd_dep = inotify + endif + util_ss.add(files('filemonitor-inotify.c'), freebsd_dep) + else |
