<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/8c95378d727f599441390a17ac96b90c473a3667">https://github.com/macports/macports-ports/commit/8c95378d727f599441390a17ac96b90c473a3667</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 8c95378d727 gtest: blacklist clang < 900
</span>8c95378d727 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8c95378d727f599441390a17ac96b90c473a3667
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sat Sep 9 11:12:32 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> gtest: blacklist clang < 900
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/68029
</span>---
devel/gtest/Portfile | 5 +++++
1 file changed, 5 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gtest/Portfile b/devel/gtest/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 282cdfad207..5d81fde2edc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/gtest/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gtest/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,6 +43,11 @@ legacysupport.use_mp_libcxx yes
</span> compiler.cxx_standard 2014
cmake.set_cxx_standard yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Avoid Xcode Clang 7/8: error: initialization of const type without user-provided default constructor
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# See: https://trac.macports.org/ticket/68029
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {clang < 900}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.optflags -g
configure.args-append -Dgtest_build_tests=ON \
-DBUILD_SHARED_LIBS=OFF
</pre><pre style='margin:0'>
</pre>