<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/fec523896c0b40a4c5bf94bb0c7fcdf09793df66">https://github.com/macports/macports-ports/commit/fec523896c0b40a4c5bf94bb0c7fcdf09793df66</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 fec523896c0 libssh2: apply pragma patch for gcc versions, not OS (#15783)
</span>fec523896c0 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit fec523896c0b40a4c5bf94bb0c7fcdf09793df66
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Sat Aug 20 22:21:57 2022 +0800
<span style='display:block; white-space:pre;color:#404040;'> libssh2: apply pragma patch for gcc versions, not OS (#15783)
</span>---
devel/libssh2/Portfile | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libssh2/Portfile b/devel/libssh2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8f7b77a595a..9d8e9a9dfce 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libssh2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libssh2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,7 +10,6 @@ github.tarball_from releases
</span> revision 0
categories devel net
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> maintainers {wohner.eu:normen @Gminfly} openmaintainer
homepage https://www.libssh2.org/
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,8 +27,8 @@ checksums rmd160 b3af89cc5974dbffbcba0dd80dcd521e6e60b39d \
</span> sha256 2d64e90f3ded394b91d3a2e774ca203a4179f69aebee03003e5a6fa621e41d51 \
size 965044
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.platform} eq "darwin" && ${os.major} < 10} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # remove errant pragmas inside functions no supported on older gcc versions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match *gcc-4.* ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Remove errant pragmas inside functions not supported on older gcc versions.
</span> patchfiles-append patch-libssh2-pragmas-older-gcc.diff
}
</pre><pre style='margin:0'>
</pre>