<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/615859dd822ea735e138da80c12fd3bda52df145">https://github.com/macports/macports-ports/commit/615859dd822ea735e138da80c12fd3bda52df145</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 615859dd822ea735e138da80c12fd3bda52df145
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Sun May 14 16:48:09 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> usbmuxd: Avoid redef errors
</span>---
devel/usbmuxd/Portfile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/usbmuxd/Portfile b/devel/usbmuxd/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0be896701b3..e9362524dc6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/usbmuxd/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/usbmuxd/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,8 +4,9 @@ PortSystem 1.0
</span> PortGroup github 1.0
github.setup libimobiledevice usbmuxd 1.1.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories devel
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> maintainers {i0ntempest @i0ntempest} openmaintainer
description USB Multiplex Daemon
long_description {*}${description} is in charge of talking to your iPhone \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,6 +27,12 @@ depends_build-append \
</span> depends_lib port:libplist \
path:lib/pkgconfig/libusb-1.0.pc:libusb
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Avoid redefinition errors with libplist v2.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|PLIST_FORMAT_XML|PLIST_FORMAT_XML_|g" ${worksrcpath}/src/utils.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|PLIST_FORMAT_BINARY|PLIST_FORMAT_BINARY_|g" ${worksrcpath}/src/utils.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.cmd ./autogen.sh
configure.args --disable-silent-rules \
--without-preflight \
</pre><pre style='margin:0'>
</pre>