<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/303fcd36ad7ac90fbee444b6b337e7051bea2b89">https://github.com/macports/macports-ports/commit/303fcd36ad7ac90fbee444b6b337e7051bea2b89</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 303fcd36ad7 qemu: Use libfdt from dtc
</span>303fcd36ad7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 303fcd36ad7ac90fbee444b6b337e7051bea2b89
</span>Author: mkarr <fxfrax@gmail.com>
AuthorDate: Sun Aug 18 14:04:55 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> qemu: Use libfdt from dtc
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The libfdt included in qemu conflicts with the one in dtc. Configure qemu to depend on dtc and use that version of libfdt.
</span>---
emulators/qemu/Portfile | 8 +++++---
1 file changed, 5 insertions(+), 3 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 a0df6dc6d3f..7d680ca5009 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 9.0.2
<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;'>@@ -57,7 +57,8 @@ depends_lib-append path:lib/pkgconfig/glib-2.0.pc:glib2 \
</span> port:lzo2 \
port:snappy \
port:zlib \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:zstd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zstd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:dtc
</span>
# "error: unknown type name 'fpunchhole_t'" pre-10.12.4
patchfiles-append patch-qemu-punchhole.diff
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -144,7 +145,8 @@ configure.args-append --disable-cocoa \
</span> --enable-parallels \
--enable-vdi \
--enable-virtfs \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-vvfat
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-vvfat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-fdt=system
</span>
# Use 'smbd' installed by samba port, rather than macOS; latter does not work with qemu.
configure.args-append --smbd=${prefix}/sbin/smbd
</pre><pre style='margin:0'>
</pre>