<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/71c8de399aa6cb2b628740f74743b77af5315bc9">https://github.com/macports/macports-ports/commit/71c8de399aa6cb2b628740f74743b77af5315bc9</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 71c8de399aa tmate: fix build with gcc
</span>71c8de399aa is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 71c8de399aa6cb2b628740f74743b77af5315bc9
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Thu May 16 05:24:18 2024 +0800

<span style='display:block; white-space:pre;color:#404040;'>    tmate: fix build with gcc
</span>---
 sysutils/tmate/Portfile | 10 ++++++++++
 1 file changed, 10 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/tmate/Portfile b/sysutils/tmate/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index cb3b36b4cb9..b9de4cd920b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/tmate/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/tmate/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,6 +19,14 @@ long_description    ${description}
</span> 
 patchfiles-append   patch-configure.ac
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/tmate-io/tmate/issues/302
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match *gcc* ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # cc1: error: unrecognized command line option "-Wno-null-pointer-arithmetic"
</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-null-pointer-arithmetic||" ${worksrcpath}/Makefile.am
</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> depends_build       port:pkgconfig
 
 depends_lib         port:libevent \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,3 +35,5 @@ depends_lib         port:libevent \
</span>                     port:libssh
 
 use_autoreconf      yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.c_standard 1999
</span></pre><pre style='margin:0'>

</pre>