<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d2d11e2773abb8d123b5c503b9a522da4c2e20b8">https://github.com/macports/macports-ports/commit/d2d11e2773abb8d123b5c503b9a522da4c2e20b8</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d2d11e2773abb8d123b5c503b9a522da4c2e20b8
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Thu Jul 13 23:00:21 2023 +0800

<span style='display:block; white-space:pre;color:#404040;'>    capnproto: allow building with gcc
</span>---
 devel/capnproto/Portfile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/capnproto/Portfile b/devel/capnproto/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4db40d63044..91b704105a3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/capnproto/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/capnproto/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,8 +35,7 @@ compiler.cxx_standard   2014
</span> compiler.blacklist-append \
                         {clang < 500.2.75} \
                         macports-clang-3.3 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                        macports-clang-3.4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        *gcc*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        macports-clang-3.4
</span> # ./src/kj/time.h:48:31: error: invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity<int64_t, _::NanosecondLabel>'))
 # constexpr Duration HOURS = 60 * MINUTES;
 #                            ~~ ^ ~~~~~~~
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,8 +44,8 @@ compiler.blacklist-append {clang < 1000}
</span> configure.cppflags-replace \
                         -I${prefix}/include "-isystem${prefix}/include"
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cxx_stdlib    libc++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[string match *clang* ${configure.cxx}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match *clang* ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.cxx_stdlib        libc++
</span>     configure.ldflags-append    -stdlib=libc++
 }
 
</pre><pre style='margin:0'>

</pre>