<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2056426d297ac46532f273420a820a3cef154749">https://github.com/macports/macports-ports/commit/2056426d297ac46532f273420a820a3cef154749</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 2056426d297 qemu: Fix compilation when macfuse is installed
</span>2056426d297 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2056426d297ac46532f273420a820a3cef154749
</span>Author: Frederik van Hövell <frederik@fvhovell.nl>
AuthorDate: Sat May 10 11:54:55 2025 +0200
<span style='display:block; white-space:pre;color:#404040;'> qemu: Fix compilation when macfuse is installed
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Since `macfuse` was bumped from 3.8.x to 4.1.0, building `qemu` with fuse support fails compilation (some header mismatch).
</span><span style='display:block; white-space:pre;color:#404040;'> Work around this by disabling building with fuse (blockdev export) support by default.
</span>---
emulators/qemu/Portfile | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/emulators/qemu/Portfile b/emulators/qemu/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 633ac63f43e..d96dafbcba9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/emulators/qemu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/emulators/qemu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,7 +9,7 @@ legacysupport.newest_darwin_requires_legacy 16
</span>
name qemu
version 10.0.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories emulators
license GPL-2+
maintainers {raimue @raimue} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -145,7 +145,8 @@ configure.args-append --disable-cocoa \
</span> --enable-vdi \
--enable-virtfs \
--enable-vvfat \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-fdt=system
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-fdt=system \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-fuse
</span>
# Use 'smbd' installed by samba port, rather than macOS; latter does not work with qemu.
configure.args-append --smbd=${prefix}/sbin/smbd
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -276,6 +277,11 @@ variant dbus description {Export the VM display through D-Bus} {
</span> configure.args-append --enable-modules
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant fuse description {Support exporting block devices via FUSE} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-fuse --enable-fuse
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:macfuse
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Default universal variant does not work
universal_variant no
</pre><pre style='margin:0'>
</pre>