<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/d698aafe2ae42abcea62816e6b6177df8086427a">https://github.com/macports/macports-ports/commit/d698aafe2ae42abcea62816e6b6177df8086427a</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 d698aafe2ae hdf5: blacklist clang < 500; fixes builds for macOS 10.7
</span>d698aafe2ae is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d698aafe2ae42abcea62816e6b6177df8086427a
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Thu Aug 10 05:56:30 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> hdf5: blacklist clang < 500; fixes builds for macOS 10.7
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> CC: @eborisch
</span>---
science/hdf5/Portfile | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/hdf5/Portfile b/science/hdf5/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 493fe163439..eaa4a17f88f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/hdf5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/hdf5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem 1.0
</span> PortGroup muniversal 1.0
PortGroup mpi 1.0
PortGroup legacysupport 1.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compiler_blacklist_versions 1.0
</span>
name hdf5
version 1.14.1-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,14 +44,16 @@ patchfiles patch-tools-src-misc-h5cc.in.diff
</span>
# llvm-gcc-4.2 produced code fails type conversion tests
# Upstream suggestion is use -O0. Clang-produced code passes all tests.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist llvm-gcc-4.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ llvm-gcc-4.2
</span>
# #pragma pack() results in "too many #pragma options align=reset"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append gcc-3.3 gcc-4.0 gcc-4.2 apple-gcc-4.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[vercmp ${xcodeversion} 4.0] < 0} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # configure.cxx is still /usr/bin/llvm-g++-4.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.blacklist-append clang
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gcc-3.3 gcc-4.0 gcc-4.2 apple-gcc-4.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# <stdin>:2115:2: error: invalid instruction mnemonic 'cvtsi2ssl'
</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>
compiler.c_standard 1999
</pre><pre style='margin:0'>
</pre>