<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4f9d279fcdaa78871cacfe358b20ee2ff577eb75">https://github.com/macports/macports-ports/commit/4f9d279fcdaa78871cacfe358b20ee2ff577eb75</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 4f9d279fcda tmux-devel: fix build with gcc-4.2
</span>4f9d279fcda is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 4f9d279fcdaa78871cacfe358b20ee2ff577eb75
</span>Author: Sergey Fedorov <barracuda@macos-powerpc.org>
AuthorDate: Wed Sep 11 14:13:03 2024 +0800

<span style='display:block; white-space:pre;color:#404040;'>    tmux-devel: fix build with gcc-4.2
</span>---
 sysutils/tmux/Portfile                    |  6 ++++--
 sysutils/tmux/files/patch-devel-gcc4.diff | 11 +++++++++++
 2 files changed, 15 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/tmux/Portfile b/sysutils/tmux/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index de47c9fdfa9..ee9003ad79c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/tmux/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/tmux/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,10 +27,9 @@ long_description \
</span>     tmux is intended to be a simple, modern, BSD-licensed alternative \
     to programs such as GNU screen.
 homepage        https://tmux.github.io
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms       darwin
</span> license         BSD
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build   port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build   path:bin/pkg-config:pkgconfig
</span> depends_lib     port:libutf8proc \
                 port:libevent \
                 port:ncurses
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -59,6 +58,9 @@ subport tmux-devel {
</span>         set reinplace_cmd [subst -nobackslashes -nocommands {s/AC_INIT\(\[tmux\], (next-[0-9]+\.[0-9]+)\)/AC_INIT([tmux], \1 (${version}))/g}]
         reinplace -E $reinplace_cmd ${worksrcpath}/configure.ac
     }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # https://github.com/tmux/tmux/issues/4119
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    patchfiles-append       patch-devel-gcc4.diff
</span> }
 
 platform darwin {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/tmux/files/patch-devel-gcc4.diff b/sysutils/tmux/files/patch-devel-gcc4.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..0e00e7d5dd8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/tmux/files/patch-devel-gcc4.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.am    2024-07-12 21:30:56.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile.am    2024-09-11 14:07:54.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -28,7 +28,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AM_CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AM_CFLAGS += -Wundef -Wbad-function-cast -Winline -Wcast-align
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AM_CFLAGS += -Wdeclaration-after-statement -Wno-pointer-sign -Wno-attributes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-AM_CFLAGS += -Wno-unused-result -Wno-format-y2k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AM_CFLAGS += -Wno-format-y2k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if IS_DARWIN
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AM_CFLAGS += -Wno-deprecated-declarations -Wno-cast-align
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif
</span></pre><pre style='margin:0'>

</pre>