<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d6f3e7e6055849673f63f8e475207b0fbb3f40db">https://github.com/macports/macports-ports/commit/d6f3e7e6055849673f63f8e475207b0fbb3f40db</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 d6f3e7e6055 usbredir: fix build on macOS 10.5
</span>d6f3e7e6055 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d6f3e7e6055849673f63f8e475207b0fbb3f40db
</span>Author: Kirill A. Korinsky <kirill@korins.ky>
AuthorDate: Tue Aug 29 00:26:54 2023 +0200
<span style='display:block; white-space:pre;color:#404040;'> usbredir: fix build on macOS 10.5
</span>---
devel/usbredir/Portfile | 2 ++
devel/usbredir/files/patch-ai_numericserv.diff | 18 ++++++++++++++++++
2 files changed, 20 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/usbredir/Portfile b/devel/usbredir/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2eb6fe34a67..30cd24dc755 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/usbredir/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/usbredir/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,6 +20,8 @@ homepage https://www.spice-space.org/usbredir.html
</span> master_sites https://www.spice-space.org/download/usbredir/
use_xz yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-ai_numericserv.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_build port:pkgconfig
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/usbredir/files/patch-ai_numericserv.diff b/devel/usbredir/files/patch-ai_numericserv.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..d44b3c83108
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/usbredir/files/patch-ai_numericserv.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://gitlab.freedesktop.org/spice/usbredir/-/merge_requests/70
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git usbredirtestclient/usbredirtestclient.c usbredirtestclient/usbredirtestclient.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 28392db..62b72e8 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- usbredirtestclient/usbredirtestclient.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ usbredirtestclient/usbredirtestclient.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -248,7 +248,10 @@ int main(int argc, char *argv[])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sigaction(SIGQUIT, &act, NULL);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ memset(&hints, 0, sizeof(hints));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- hints.ai_flags = AI_ADDRCONFIG | AI_NUMERICSERV;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ hints.ai_flags = AI_ADDRCONFIG;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef AI_NUMERICSERV
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ hints.ai_flags |= AI_NUMERICSERV;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ hints.ai_family = AF_UNSPEC;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ hints.ai_socktype = SOCK_STREAM;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ hints.ai_protocol = IPPROTO_TCP;
</span></pre><pre style='margin:0'>
</pre>