<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/6b1be2ec012e8a8a8fa99323e4fb094134e335e9">https://github.com/macports/macports-ports/commit/6b1be2ec012e8a8a8fa99323e4fb094134e335e9</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6b1be2ec012e8a8a8fa99323e4fb094134e335e9
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Thu Mar 17 16:10:06 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> Aerofoil: Requires OS X 10.10 or greater
</span>---
games/Aerofoil/Portfile | 10 ++++++++++
games/Aerofoil/files/Aerofoil.patch | 2 +-
games/Aerofoil/files/stdlib.patch | 1 +
3 files changed, 12 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 82a3d29381c..78957c62869 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;'>@@ -77,3 +77,13 @@ destroot {
</span> move ${workpath}/Aerofoil/Packaged ${destroot}${applications_dir}/${app.name}.app/Contents/Resources/
copy ${worksrcpath}/Documentation ${destroot}${prefix}/share/doc/${name}
}
<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} < 14} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # error: unknown type name 'NS_ASSUME_NONNULL_END'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ known_fail yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${subport} @${version} requires OS X 10.10 or greater."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "incompatible OS X version"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/Aerofoil/files/Aerofoil.patch b/games/Aerofoil/files/Aerofoil.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 58564a830da..2b4267202bc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/games/Aerofoil/files/Aerofoil.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/Aerofoil/files/Aerofoil.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,5 @@
</span> Fix build issues.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-https://github.com/elasota/Aerofoil/pull/10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/elasota/Aerofoil/commit/e78b01a5f32c1f3d9ce375ec5e5ef9841c5e01a7
</span> --- AerofoilX/GpMain_SDL_X.cpp.orig 2021-11-10 17:05:19.000000000 -0600
+++ AerofoilX/GpMain_SDL_X.cpp 2022-03-16 20:45:44.000000000 -0500
@@ -20,7 +20,9 @@
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/Aerofoil/files/stdlib.patch b/games/Aerofoil/files/stdlib.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 2740490e15a..d6ee7c174cb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/games/Aerofoil/files/stdlib.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/Aerofoil/files/stdlib.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,6 +2,7 @@ Fix:
</span> error: use of undeclared identifier 'free'
error: use of undeclared identifier 'malloc'
error: use of undeclared identifier 'qsort'
<span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/elasota/Aerofoil/commit/53ff18d337e35aaefb866a43f7924e7d182c0f77
</span> --- AerofoilPortable/GpThreadEvent_Cpp11.cpp.orig 2021-11-10 17:05:19.000000000 -0600
+++ AerofoilPortable/GpThreadEvent_Cpp11.cpp 2022-03-17 02:42:47.000000000 -0500
@@ -1,5 +1,7 @@
</pre><pre style='margin:0'>
</pre>