<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/dd60ba6062154be9eaee15d369e8e10b8937f326">https://github.com/macports/macports-ports/commit/dd60ba6062154be9eaee15d369e8e10b8937f326</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 dd60ba60621 clang-16: Extend support to OSX10.7 and newer
</span>dd60ba60621 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit dd60ba6062154be9eaee15d369e8e10b8937f326
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Tue Mar 28 13:21:48 2023 +0100

<span style='display:block; white-space:pre;color:#404040;'>    clang-16: Extend support to OSX10.7 and newer
</span>---
 lang/llvm-16/Portfile | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-16/Portfile b/lang/llvm-16/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 97d8f70bd1b..a73de48bf84 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-16/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-16/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -175,6 +175,16 @@ if {${os.platform} eq "darwin" && ${os.major} < 14} {
</span>     patchfiles-append  0110-Avoid-Pthread-QOS.patch
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 12} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # On OSX10.7 and older revert call to add_security_warnings as fails with
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    #   add_security_warnings Function invoked with incorrect arguments
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        reinplace "s|add_security_warnings\(|\#add_security_warnings\(|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            ${patch.dir}/compiler-rt/lib/builtins/CMakeLists.txt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            ${patch.dir}/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
</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> post-patch {
     reinplace "s|@@PREFIX@@|${prefix}|" \
         ${patch.dir}/clang/lib/Driver/ToolChains/Clang.cpp \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -302,8 +312,8 @@ if { ${subport} eq "flang-${llvm_version}" } {
</span>     }
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Restrict to OSX 10.8 and newer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.platform} eq "darwin" && ${os.major} < 12} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Restrict to OSX 10.7 and newer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 11} {
</span>     depends_build
     depends_lib
     depends_run
</pre><pre style='margin:0'>

</pre>