<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/861efe933cfb7c0a00f3269a8e284c7dd274f699">https://github.com/macports/macports-ports/commit/861efe933cfb7c0a00f3269a8e284c7dd274f699</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 861efe933cfb7c0a00f3269a8e284c7dd274f699
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Tue Apr 5 19:53:48 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> usbredir: Don't build usbredirserver on <= 10.8
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> usbredirserver can't be built with the 10.8 SDK and earlier, but it has
</span><span style='display:block; white-space:pre;color:#404040;'> been deprecated for awhile and upstream has already removed the code in
</span><span style='display:block; white-space:pre;color:#404040;'> the next version.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/64941
</span>---
devel/usbredir/Portfile | 5 +++++
devel/usbredir/files/no-usbredirserver.patch | 23 +++++++++++++++++++++++
2 files changed, 28 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 b9e415e6f2a..d16b81053b4 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;'>@@ -32,3 +32,8 @@ use_autoreconf yes
</span> autoreconf.args -fvi
configure.args --disable-silent-rules
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ no-usbredirserver.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/usbredir/files/no-usbredirserver.patch b/devel/usbredir/files/no-usbredirserver.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..63b1434b5f9
</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/no-usbredirserver.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Do not build usbredirserver. It is deprecated, has been removed from
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+the upstream code already, and cannot build on OS X 10.8 and earlier.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://gitlab.freedesktop.org/spice/usbredir/-/commit/f4ffdce329305da2803684776f7659083a530819
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.ac.orig 2021-04-02 10:51:59.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure.ac 2022-04-05 19:48:28.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -123,7 +123,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ usbredirhost/libusbredirhost.pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ usbredirparser/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ usbredirparser/libusbredirparser-0.5.pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-usbredirserver/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ usbredirtestclient/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fuzzing/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.am.orig 2021-04-02 10:51:59.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile.am 2022-04-05 19:48:15.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,6 +1,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SUBDIRS = usbredirparser usbredirhost docs fuzzing tools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if ! OS_WIN32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-SUBDIRS += usbredirserver usbredirtestclient
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SUBDIRS += usbredirtestclient
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EXTRA_DIST = \
</span></pre><pre style='margin:0'>
</pre>