<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2532c6ac0a1e3c4e17cfb726bd0b39ffd30a6647">https://github.com/macports/macports-ports/commit/2532c6ac0a1e3c4e17cfb726bd0b39ffd30a6647</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 2532c6ac0a1 re2c: Add re2c-0.15 subport
</span>2532c6ac0a1 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2532c6ac0a1e3c4e17cfb726bd0b39ffd30a6647
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Thu Jun 10 10:12:42 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> re2c: Add re2c-0.15 subport
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Certain versions of clang miscompile parsers (including php's datetime
</span><span style='display:block; white-space:pre;color:#404040;'> parsers) created with re2c 0.16 or later, so preserve version 0.15.x for
</span><span style='display:block; white-space:pre;color:#404040;'> those situations.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/61351
</span>---
devel/re2c/Portfile | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/re2c/Portfile b/devel/re2c/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 94a86c293ce..fac5f7e617f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/re2c/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/re2c/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,6 +9,18 @@ checksums rmd160 91bd1148bf576c8767789be389650c0971520388 \
</span> sha256 036ee264fafd5423141ebd628890775aa9447a4c4068a6307385d7366fe711f8 \
size 1340740
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# The datetime parsers in php must be generated with this version or older.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name}-0.15 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup ${github.author} ${github.project} 0.15.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 a8867ba92ad3a9712a814b15a0cc7b6d0b51e995 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f9d2a96c60a8c60d9c6c70e10590cbceaf0776d3115e7b3b35c7d7240cc1613b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 4881197
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --program-suffix=-0.15
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories devel
platforms darwin
license public-domain
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,11 +36,14 @@ long_description re2c is a tool for generating C-based recognizers from \
</span>
homepage http://re2c.org/
github.tarball_from releases
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${subport} eq ${name}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
depends_build port:bison
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --disable-silent-rules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-silent-rules
</span>
# If future versions exhibit compile errors like
# "error: no match for 'operator!='" (gcc-4.2) or
</pre><pre style='margin:0'>
</pre>