<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/999d3579c67d9b2c89d931e2b751bb1e17bb3ee7">https://github.com/macports/macports-ports/commit/999d3579c67d9b2c89d931e2b751bb1e17bb3ee7</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 999d3579c67 iverilog: Fix build with MacPorts bison installed
</span>999d3579c67 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 999d3579c67d9b2c89d931e2b751bb1e17bb3ee7
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sat Apr 10 12:13:00 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> iverilog: Fix build with MacPorts bison installed
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/61639
</span>---
science/iverilog/Portfile | 2 ++
science/iverilog/files/bison.patch | 61 ++++++++++++++++++++++++++++++++++++++
2 files changed, 63 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/iverilog/Portfile b/science/iverilog/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5fc5010db44..c7fd87b0541 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/iverilog/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/iverilog/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,6 +36,8 @@ depends_lib-append port:bzip2 \
</span> port:readline \
port:zlib
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append bison.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> compiler.cxx_standard 2011
if {[string match *clang* ${configure.cxx}]} {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/iverilog/files/bison.patch b/science/iverilog/files/bison.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..028c2bed5ef
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/iverilog/files/bison.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,61 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix build with bison 3.7 and later.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/steveicarus/iverilog/commit/5b699c1be73e789831db01e779a41478c0c62309
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.in.orig 2019-08-15 10:31:11.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile.in 2021-04-10 12:10:13.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -254,10 +254,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Build this in two steps to avoid parallel build issues (see pr3462585)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ parse.cc: $(srcdir)/parse.y
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(YACC) --verbose -t -p VL -d -o $@ $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(YACC) --verbose -t -p VL --defines=parse.h -o $@ $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ parse.h: parse.cc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- mv parse.cc.h $@ 2>/dev/null || mv parse.hh $@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- touch $@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ syn-rules.cc: $(srcdir)/syn-rules.y
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(YACC) --verbose -t -p syn_ -o $@ $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Only in work/verilog-10.3: Makefile.in.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tgt-pcb/Makefile.in.orig 2019-08-15 10:31:11.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tgt-pcb/Makefile.in 2021-04-10 12:10:13.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -88,10 +88,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(LEX) -s -ofp_lex.cc $(srcdir)/fp.lex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fp.cc: $(srcdir)/fp.y
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(YACC) --verbose -t -p fp -d -o $@ $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(YACC) --verbose -t -p fp --defines=fp.h -o $@ $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fp.h: fp.cc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- mv fp.cc.h $@ 2>/dev/null || mv fp.hh $@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- touch $@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ifeq (@WIN32@,yes)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ TGTLDFLAGS=-L.. -livl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Only in tgt-pcb: Makefile.in.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- vhdlpp/Makefile.in.orig 2019-08-15 10:31:11.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ vhdlpp/Makefile.in 2021-04-10 12:10:13.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -117,10 +117,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Build this in two steps to avoid parallel build issues (see pr3462585)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ parse.cc: $(srcdir)/parse.y
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(YACC) --verbose -t -d -o $@ $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(YACC) --verbose -t --defines=parse.h -o $@ $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ parse.h: parse.cc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- mv parse.cc.h $@ 2>/dev/null || mv parse.hh $@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- touch $@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lexor_keyword.o: lexor_keyword.cc parse.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- vvp/Makefile.in.orig 2019-08-15 10:31:11.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ vvp/Makefile.in 2021-04-10 12:10:13.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -165,10 +165,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Build this in two steps to avoid parallel build issues (see pr3462585)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ parse.cc: $(srcdir)/parse.y
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(YACC) --verbose -t -d -o $@ $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(YACC) --verbose -t --defines=parse.h -o $@ $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ parse.h: parse.cc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- mv parse.cc.h $@ 2>/dev/null || mv parse.hh $@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- touch $@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lexor.cc: $(srcdir)/lexor.lex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(LEX) -s -olexor.cc $(srcdir)/lexor.lex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Only in vvp: Makefile.in.orig
</span></pre><pre style='margin:0'>
</pre>