<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/545b187fd809a0bbc48b1a8a686ed1c706dae89b">https://github.com/macports/macports-ports/commit/545b187fd809a0bbc48b1a8a686ed1c706dae89b</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 545b187fd80 mtm: fix build on old macOS
</span>545b187fd80 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 545b187fd809a0bbc48b1a8a686ed1c706dae89b
</span>Author: Sergey Fedorov <barracuda@macos-powerpc.org>
AuthorDate: Thu Sep 26 21:57:00 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> mtm: fix build on old macOS
</span>---
sysutils/mtm/Portfile | 5 +++++
1 file changed, 5 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/mtm/Portfile b/sysutils/mtm/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 83eb0ed4377..aa1a3eda19b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/mtm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/mtm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,6 +6,7 @@ PortGroup github 1.0
</span> PortGroup makefile 1.0
github.setup deadpixi mtm 1.2.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> github.tarball_from archive
description Perhaps the smallest useful terminal multiplexer in the \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,6 +29,10 @@ platforms darwin linux
</span>
depends_lib-append port:ncurses
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# vtparser.c:123: error: ‘for’ loop initial declaration used outside C99 mode
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -std=c99
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> destroot {
xinstall -m 755 ${worksrcpath}/mtm ${destroot}${prefix}/bin/
xinstall -m 644 ${worksrcpath}/mtm.1 ${destroot}${prefix}/share/man/man1/
</pre><pre style='margin:0'>
</pre>