<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/800f76f6f22d463e0bf4e97d6965afab1d4647c0">https://github.com/macports/macports-ports/commit/800f76f6f22d463e0bf4e97d6965afab1d4647c0</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 800f76f6f22 gcli: fix build with Xcode gcc
</span>800f76f6f22 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 800f76f6f22d463e0bf4e97d6965afab1d4647c0
</span>Author: Sergey Fedorov <barracuda@macos-powerpc.org>
AuthorDate: Fri Jun 21 21:24:22 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> gcli: fix build with Xcode gcc
</span>---
devel/gcli/Portfile | 6 +++++-
devel/gcli/files/patch-Xcode-gcc.diff | 10 ++++++++++
2 files changed, 15 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gcli/Portfile b/devel/gcli/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 453445fb3be..cd414504f1d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/gcli/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gcli/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,7 +30,11 @@ depends_lib-append port:curl
</span>
depends_build-append port:bison \
port:flex \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/pkg-config:pkgconfig
</span>
use_autoreconf yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# cc1: error: unrecognized command line option "-Wno-gnu-zero-variadic-macro-arguments"
</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;'>+ patchfiles-append patch-Xcode-gcc.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gcli/files/patch-Xcode-gcc.diff b/devel/gcli/files/patch-Xcode-gcc.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..80f33422ad9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gcli/files/patch-Xcode-gcc.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.am 2024-03-27 03:45:14.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile.am 2024-06-21 21:18:46.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8,7 +8,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AM_CPPFLAGS += -DYY_NO_INPUT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AM_CPPFLAGS += -DYY_NO_UNPUT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AM_CPPFLAGS += -D_XOPEN_SOURCE=600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-AM_CFLAGS = -Wno-gnu-zero-variadic-macro-arguments
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ noinst_PROGRAMS = pgen$(EXEEXT)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pgen_SOURCES = \
</span></pre><pre style='margin:0'>
</pre>