<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/beda5e82eef8529dde072e9bf2e19eb2aa7a1eb5">https://github.com/macports/macports-ports/commit/beda5e82eef8529dde072e9bf2e19eb2aa7a1eb5</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 beda5e82eef cdecl: blacklist clang < 700; silence most warnings
</span>beda5e82eef is described below

<span style='display:block; white-space:pre;color:#808000;'>commit beda5e82eef8529dde072e9bf2e19eb2aa7a1eb5
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Mon May 29 10:23:28 2023 -0400

<span style='display:block; white-space:pre;color:#404040;'>    cdecl: blacklist clang < 700; silence most warnings
</span>---
 devel/cdecl/Portfile                               | 32 ++++++++++++++++++----
 .../files/patch-configure.ac-disable-warnings.diff | 24 ++++++++++++++++
 2 files changed, 51 insertions(+), 5 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/cdecl/Portfile b/devel/cdecl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5f8100b4e48..4b45900a74c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/cdecl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/cdecl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,6 +3,7 @@
</span> PortSystem          1.0
 PortGroup           github 1.0
 PortGroup           muniversal 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup           compiler_blacklist_versions 1.0
</span> 
 github.setup        paul-j-lucas cdecl 14.2 cdecl-
 revision            0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,6 +23,9 @@ checksums           rmd160  bb0a06f1d7b620e00b20dd502878de334d5d0b9e \
</span>                     sha256  eacb3bbf3f3ea1ec44a7169ae656cd7988a3e75ccf28739440753e1bd5e2a84a \
                     size    831992
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Reduce the noise from warnings, particularly those related to sign conversion
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append   patch-configure.ac-disable-warnings.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_build-append \
                     port:autoconf \
                     port:automake
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,14 +36,32 @@ depends_lib-append \
</span> 
 compiler.c_standard 2011
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# lexer.l:437:7: error: expected expression
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#       FALLTHROUGH;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ../lib/attribute.h:165:21: note: expanded from macro 'FALLTHROUGH'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# #define FALLTHROUGH _GL_ATTRIBUTE_FALLTHROUGH
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ./config.h:1158:37: note: expanded from macro '_GL_ATTRIBUTE_FALLTHROUGH'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# #define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append {clang < 700}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # gcc-4.2 fails to build it
 compiler.blacklist-append *gcc-4*
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.major} == 10 && ${build_arch} eq "ppc"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # Without this Rosetta uses clang, and the build fails.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # This is only needed for Rosetta, not 10.6 PPC, but it won’t hurt.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    compiler.blacklist-append *clang*
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    configure.pre_args  --build=powerpc-apple-darwin10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${os.major} == 10 && ${build_arch} eq "ppc"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # Without this Rosetta uses clang, and the build fails.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # This is only needed for Rosetta, not 10.6 PPC, but it won’t hurt.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        compiler.blacklist-append *clang*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        configure.pre_args  --build=powerpc-apple-darwin10
</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><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><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    -Wno-implicit-int-conversion \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    -Wno-unknown-pragmas \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    -Wno-unknown-warning-option \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    -Wno-error=unknown-warning-option
</span> }
 
 use_autoreconf      yes
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/cdecl/files/patch-configure.ac-disable-warnings.diff b/devel/cdecl/files/patch-configure.ac-disable-warnings.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..acf10065833
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/cdecl/files/patch-configure.ac-disable-warnings.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.ac.orig      2023-05-29 10:10:51.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure.ac   2023-05-29 10:11:24.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -295,7 +295,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AX_CHECK_COMPILE_FLAG([-Wcomma], [CFLAGS="$CFLAGS -Wcomma"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AX_CHECK_COMPILE_FLAG([-Wconditional-type-mismatch], [CFLAGS="$CFLAGS -Wconditional-type-mismatch"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AX_CHECK_COMPILE_FLAG([-Wconditional-uninitialized], [CFLAGS="$CFLAGS -Wconditional-uninitialized"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-AX_CHECK_COMPILE_FLAG([-Wconversion], [CFLAGS="$CFLAGS -Wconversion"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AX_CHECK_COMPILE_FLAG([-Wduplicate-enum], [CFLAGS="$CFLAGS -Wduplicate-enum"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AX_CHECK_COMPILE_FLAG([-Wembedded-directive], [CFLAGS="$CFLAGS -Wembedded-directive"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AX_CHECK_COMPILE_FLAG([-Wenum-enum-conversion], [CFLAGS="$CFLAGS -Wenum-enum-conversion"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -318,13 +317,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AX_CHECK_COMPILE_FLAG([-Wshadow], [CFLAGS="$CFLAGS -Wshadow"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AX_CHECK_COMPILE_FLAG([-Wshift-sign-overflow], [CFLAGS="$CFLAGS -Wshift-sign-overflow"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AX_CHECK_COMPILE_FLAG([-Wshorten-64-to-32], [CFLAGS="$CFLAGS -Wshorten-64-to-32"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-AX_CHECK_COMPILE_FLAG([-Wsign-compare], [CFLAGS="$CFLAGS -Wsign-compare"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-AX_CHECK_COMPILE_FLAG([-Wsign-conversion], [CFLAGS="$CFLAGS -Wsign-conversion"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AX_CHECK_COMPILE_FLAG([-Wsometimes-uninitialized], [CFLAGS="$CFLAGS -Wsometimes-uninitialized"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-AX_CHECK_COMPILE_FLAG([-Wstring-conversion], [CFLAGS="$CFLAGS -Wstring-conversion"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AX_CHECK_COMPILE_FLAG([-Wtautological-compare], [CFLAGS="$CFLAGS -Wtautological-compare"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AX_CHECK_COMPILE_FLAG([-Wtautological-type-limit-compare], [CFLAGS="$CFLAGS -Wtautological-type-limit-compare"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-AX_CHECK_COMPILE_FLAG([-Wundef], [CFLAGS="$CFLAGS -Wundef"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AX_CHECK_COMPILE_FLAG([-Wuninitialized], [CFLAGS="$CFLAGS -Wuninitialized"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AX_CHECK_COMPILE_FLAG([-Wunreachable-code-break], [CFLAGS="$CFLAGS -Wunreachable-code-break"], [], [-Werror])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AX_CHECK_COMPILE_FLAG([-Wunreachable-code-return], [CFLAGS="$CFLAGS -Wunreachable-code-return"], [], [-Werror])
</span></pre><pre style='margin:0'>

</pre>