diff --git a/srcpkgs/NetworkManager/patches/fix-cross-gir.patch b/srcpkgs/NetworkManager/patches/fix-cross-gir.patch index e0573deb096..d48072d998e 100644 --- a/srcpkgs/NetworkManager/patches/fix-cross-gir.patch +++ b/srcpkgs/NetworkManager/patches/fix-cross-gir.patch @@ -13,7 +13,7 @@ Upstream: No, not upstreamable since this is very specific to the Void setup test( --- libnm/meson.build +++ libnm/meson.build -@@ -244,7 +244,23 @@ if enable_introspection +@@ -244,7 +244,21 @@ if enable_introspection ) endif @@ -24,10 +24,8 @@ Upstream: No, not upstreamable since this is very specific to the Void setup + qemu_arch = 'i386' + elif arch == 'x86_64' + qemu_arch = 'x86_64' -+ elif arch == 'arm' -+ qemu_arch = 'arm' -+ elif arch == 'aarch64' -+ qemu_arch = 'aarch64' ++ else ++ qemu_arch = host_machine.cpu_family() + endif + qemu = '/usr/bin/qemu-' + qemu_arch + '-static' + qemu_python3_cmd = qemu + ' -L @XBPS_CROSS_BASE@ @XBPS_CROSS_BASE@/bin/python3'