<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b2960de97ef2c6cb4c43d5026d02193e7ddc42e7">https://github.com/macports/macports-ports/commit/b2960de97ef2c6cb4c43d5026d02193e7ddc42e7</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 b2960de97ef gtk2{,-devel}: limit new compiler flags to clang
</span>b2960de97ef is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b2960de97ef2c6cb4c43d5026d02193e7ddc42e7
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Fri Apr 26 15:09:13 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> gtk2{,-devel}: limit new compiler flags to clang
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/69829
</span>---
gnome/gtk2-devel/Portfile | 6 +++++-
gnome/gtk2/Portfile | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk2-devel/Portfile b/gnome/gtk2-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 72a7c3aae96..ce681d68111 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gtk2-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gtk2-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -82,11 +82,15 @@ configure.cppflags-append \
</span> -DX_LOCALE \
-D_IPP_PRIVATE_STRUCTURES=1
configure.cflags-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -fstrict-aliasing \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -fstrict-aliasing
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match *clang* ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cflags-append \
</span> -Wno-deprecated-declarations \
-Wno-enum-conversion \
-Wno-unknown-warning-option \
-Wno-error=unknown-warning-option
<span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
# gobject-introspection uses g-ir-scanner, which uses $CC from env
if {${universal_possible} && [variant_isset universal]} {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk2/Portfile b/gnome/gtk2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d77621a24f8..0aae52c18fb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gtk2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gtk2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -82,11 +82,15 @@ configure.cppflags-append \
</span> -DX_LOCALE \
-D_IPP_PRIVATE_STRUCTURES=1
configure.cflags-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -fstrict-aliasing \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -fstrict-aliasing
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match *clang* ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cflags-append \
</span> -Wno-deprecated-declarations \
-Wno-enum-conversion \
-Wno-unknown-warning-option \
-Wno-error=unknown-warning-option
<span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
# gobject-introspection uses g-ir-scanner, which uses $CC from env
if {${universal_possible} && [variant_isset universal]} {
</pre><pre style='margin:0'>
</pre>