<pre style='margin:0'>
Mohamed Akram (mohd-akram) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2d86e317357ff0a360ddc105f61e1b4b30da2659">https://github.com/macports/macports-ports/commit/2d86e317357ff0a360ddc105f61e1b4b30da2659</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 2d86e317357 readpe: fix build on < 10.7
</span>2d86e317357 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 2d86e317357ff0a360ddc105f61e1b4b30da2659
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sat May 18 01:02:31 2024 +0800

<span style='display:block; white-space:pre;color:#404040;'>    readpe: fix build on < 10.7
</span>---
 sysutils/readpe/Portfile | 11 +++++++++++
 1 file changed, 11 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/readpe/Portfile b/sysutils/readpe/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a2c5dad8536..18d3181bfa2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/readpe/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/readpe/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,8 +2,12 @@
</span> 
 PortSystem          1.0
 PortGroup           github 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup           legacysupport 1.1
</span> PortGroup           makefile 1.0
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# _strndup, _memmem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+legacysupport.newest_darwin_requires_legacy 10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> github.setup        mentebinaria readpe 0.84 v
 github.tarball_from archive
 revision            0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,6 +29,13 @@ depends_lib         path:lib/libssl.dylib:openssl
</span> 
 patchfiles          patch-lib-libpe-makefile.diff
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# cc1: error: unrecognized command line option "-Wno-implicit-fallthrough"
</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;'>+    post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        reinplace "s|-Wno-implicit-fallthrough||" ${worksrcpath}/src/Makefile
</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;background:#e0ffe0;'>+
</span> build.args          prefix=${prefix}
 destroot.args       prefix=${prefix}
 
</pre><pre style='margin:0'>

</pre>