<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/1c5fb0f5dbed1a83ecf1fbcb5b05562abfadcc01">https://github.com/macports/macports-ports/commit/1c5fb0f5dbed1a83ecf1fbcb5b05562abfadcc01</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 1c5fb0f5dbed1a83ecf1fbcb5b05562abfadcc01
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Thu Mar 17 02:15:21 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> Aerofoil: Fix build failure on 10.11
</span>---
games/Aerofoil/Portfile | 3 ++-
games/Aerofoil/files/qsort.patch | 12 ++++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/Aerofoil/Portfile b/games/Aerofoil/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 377cddb508f..f416b3dafeb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/games/Aerofoil/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/Aerofoil/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -50,7 +50,8 @@ post-extract {
</span> system -W ${workpath} "unzip -q [shellescape ${distpath}/${dat_distfile}] Aerofoil/Packaged/*"
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles Aerofoil.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles Aerofoil.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qsort.patch
</span>
compiler.cxx_standard 2011
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/Aerofoil/files/qsort.patch b/games/Aerofoil/files/qsort.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..6034d9d4ce1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/Aerofoil/files/qsort.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: use of undeclared identifier 'qsort'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- PortabilityLayer/ZipFileProxy.cpp.orig 2021-11-10 17:05:19.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ PortabilityLayer/ZipFileProxy.cpp 2022-03-17 02:11:38.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -10,6 +10,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "DeflateCodec.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <algorithm>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ namespace
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span></pre><pre style='margin:0'>
</pre>