<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/dd747a349d26c5397b4a27368dda33f0e4794cbd">https://github.com/macports/macports-ports/commit/dd747a349d26c5397b4a27368dda33f0e4794cbd</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit dd747a349d26c5397b4a27368dda33f0e4794cbd
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Tue Oct 26 21:11:43 2021 +0100

<span style='display:block; white-space:pre;color:#404040;'>    LLVM 13: Use legacysupport PG option to disable function wrapping
</span>---
 lang/llvm-13/Portfile | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-13/Portfile b/lang/llvm-13/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f2f818cca19..390fd762d25 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-13/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-13/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,8 +12,9 @@ cmake.set_c_standard     no
</span> cmake.set_cxx_standard   no
 
 # link legacysupport statically for compilers
<span style='display:block; white-space:pre;background:#ffe0e0;'>-legacysupport.use_static yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-legacysupport.newest_darwin_requires_legacy 14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+legacysupport.use_static              yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Sysconf wrapping causes issues so disable
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+legacysupport.disable_function_wrap   yes
</span> 
 categories              lang
 platforms               darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -263,9 +264,6 @@ if { ${subport} eq "flang-${llvm_version}" } {
</span>         system "cd ${destroot.dir}/tools/flang && ${destroot.cmd} ${destroot.pre_args} ${destroot.target} ${destroot.post_args}"
     }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    # flang/runtime/time-intrinsic.cpp:64:21: error: use of undeclared identifier 'CLOCK_REALTIME'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    legacysupport.newest_darwin_requires_legacy 15
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span>     notes-append {
         This version of flang passes off to another fortran compiler to do the actual compiling.
         At present, you may need to set the desired fortran compiler with an ENV VAR if\
</pre><pre style='margin:0'>

</pre>