<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d656b3c8eda466eeb6d7a8a7788f26636030c2c7">https://github.com/macports/macports-ports/commit/d656b3c8eda466eeb6d7a8a7788f26636030c2c7</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 d656b3c8eda py-re2: build as C++14
</span>d656b3c8eda is described below

<span style='display:block; white-space:pre;color:#808000;'>commit d656b3c8eda466eeb6d7a8a7788f26636030c2c7
</span>Author: Mark Mentovai <mark@mentovai.com>
AuthorDate: Thu Jun 1 10:55:32 2023 -0400

<span style='display:block; white-space:pre;color:#404040;'>    py-re2: build as C++14
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    The re2 upgrade at 8d9008694fb2 brings it to version 2023-06-01, which
</span><span style='display:block; white-space:pre;color:#404040;'>    requires Abseil, added as a dependency in 60e55a7069d6. Abseil enforces a
</span><span style='display:block; white-space:pre;color:#404040;'>    C++14 minimum via an #error in one of its headers
</span><span style='display:block; white-space:pre;color:#404040;'>    (https://github.com/abseil/abseil-cpp/blob/71ffb09f8c27849c7e92595b5ac883b1ec45b95e/absl/base/policy_checks.h#L68),
</span><span style='display:block; white-space:pre;color:#404040;'>    and that header is visible to the py-re2 build. This was addressed for
</span><span style='display:block; white-space:pre;color:#404040;'>    re2 itself in d7242bf8674b.
</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/67548
</span>---
 python/py-re2/Portfile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-re2/Portfile b/python/py-re2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 234576208b7..ce370779240 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-re2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-re2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup           python 1.0
</span> PortGroup           github 1.0
 
 github.setup        facebook pyre2 1.0.7 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            3
</span> name                py-re2
 
 categories-append   devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,12 +28,16 @@ if {${name} ne ${subport}} {
</span>     depends_lib-append \
                     port:re2
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    compiler.cxx_standard   2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    compiler.cxx_standard   2014
</span>     # hack to use proper compiler and stdlib
     configure.cc        ${configure.cxx}
     configure.cflags    {*}${configure.cxxflags}
     python.add_cflags   yes
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        reinplace "s|-std=c\+\+11|-std=c++14|g" ${worksrcpath}/setup.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     post-destroot {
         set docdir ${prefix}/share/doc/${subport}
         xinstall -d ${destroot}${docdir}
</pre><pre style='margin:0'>

</pre>