gentoo-ebuilds/app-emulation/qemu/files/qemu-10.1.2-fix_passt.patch
Nicolas PARLANT e2a5eb39eb
app-emulation/qemu: fix gio for passt
passt needs gio but not gdbus-codegen. Make gdbus-codegen optional,
dbus_display (not handled) which requires it will still fail as
expected.

Closes: https://bugs.gentoo.org/964165
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44350
Closes: https://github.com/gentoo/gentoo/pull/44350
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-27 13:04:37 +00:00

18 lines
721 B
Diff

see https://bugs.gentoo.org/964165, patch sent to qemu-devel ml
passt needs gio but not gdbus-codegen. Make gdbus-codegen optional,
dbus_display which requires it will still fail as expected.
--- a/meson.build
+++ b/meson.build
@@ -1126,8 +1126,7 @@ if not get_option('gio').auto() or have_system
gio = not_found
endif
if gio.found()
- gdbus_codegen = find_program('gdbus-codegen',
- required: get_option('gio'))
+ gdbus_codegen = find_program('gdbus-codegen', required: false)
gio_unix = dependency('gio-unix-2.0', required: get_option('gio'),
method: 'pkg-config')
gio = declare_dependency(dependencies: [gio, gio_unix],
--
2.51.0