<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/49f7bc5e95802a178cccd176f0650155ab930f4f">https://github.com/macports/macports-ports/commit/49f7bc5e95802a178cccd176f0650155ab930f4f</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 49f7bc5e958 netcdf-fortran: compiler blacklist, fix 10.7 build
</span>49f7bc5e958 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 49f7bc5e95802a178cccd176f0650155ab930f4f
</span>Author: Dave Allured <dave.allured@noaa.gov>
AuthorDate: Mon Apr 1 05:59:06 2024 -0600
<span style='display:block; white-space:pre;color:#404040;'> netcdf-fortran: compiler blacklist, fix 10.7 build
</span>---
science/netcdf-fortran/Portfile | 6 ++++++
1 file changed, 6 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/netcdf-fortran/Portfile b/science/netcdf-fortran/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bb1fa2346e4..ec67d6f1f17 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/netcdf-fortran/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/netcdf-fortran/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,7 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compiler_blacklist_versions 1.0
</span> PortGroup muniversal 1.0
PortGroup mpi 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -69,6 +70,11 @@ post-patch {
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Fix for 10.7 and invalid instruction mnemonic 'cvttss2sil' copied from:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/william-dawson/NTPoly/issues/192
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {clang < 500}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.cppflags-append -DNDEBUG \
-DpgiFortran
configure.cflags-append -fno-common
</pre><pre style='margin:0'>
</pre>