<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/684234e168010ebc93cb5a78bddea7ff23cf65a8">https://github.com/macports/macports-ports/commit/684234e168010ebc93cb5a78bddea7ff23cf65a8</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 684234e flex: Fix regression in 2.6.3
</span>684234e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 684234e168010ebc93cb5a78bddea7ff23cf65a8
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sat Apr 8 16:59:16 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> flex: Fix regression in 2.6.3
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Something about a redefinition of yywrap.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also take over as maintainer.
</span>---
devel/flex/Portfile | 8 +++++++-
devel/flex/files/yywrap.patch | 27 +++++++++++++++++++++++++++
2 files changed, 34 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/flex/Portfile b/devel/flex/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bcd7596..4814ff6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/flex/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/flex/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,11 +4,14 @@ PortSystem 1.0
</span> PortGroup github 1.0
github.setup westes flex 2.6.3 v
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories devel
license BSD
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {ryandesign @ryandesign} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> description Fast lexical analyser generator
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> long_description \
Flex is a tool for generating programs that require pattern-matching on \
text. It is usually used together with yacc/bison to automatically \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,6 +30,9 @@ depends_skip_archcheck-append m4
</span>
installs_libs yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patch.pre_args -p1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles yywrap.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args ac_cv_prog_AWK=/usr/bin/awk
use_parallel_build yes
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/flex/files/yywrap.patch b/devel/flex/files/yywrap.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..39dd885
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/flex/files/yywrap.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,27 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From f5d87f1a26f4a5c3402497008ae10e9a1345d327 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Christos Zoulas <christos@zoulas.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Sun, 22 Jan 2017 18:20:44 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] scanner: Use prefix when defining yywrap to avoid
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ redefinition.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fixes regression introduced in v2.6.3.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/main.c | 4 ++--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 2 insertions(+), 2 deletions(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/src/main.c b/src/main.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index f70b1aa..83f66b0 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/src/main.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/src/main.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1586,9 +1586,9 @@ void readin (void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!do_yywrap) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!C_plus_plus) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (reentrant)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- outn ("\n#define yywrap(yyscanner) (/*CONSTCOND*/1)");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ out_str ("\n#define %swrap(yyscanner) (/*CONSTCOND*/1)\n", prefix);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- outn ("\n#define yywrap() (/*CONSTCOND*/1)");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ out_str ("\n#define %swrap() (/*CONSTCOND*/1)\n", prefix);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ outn ("#define YY_SKIP_YYWRAP");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span></pre><pre style='margin:0'>
</pre>