Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2019 17:27:16 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505172 - head/cad/iverilog/files
Message-ID:  <201906261727.x5QHRGa5078610@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Jun 26 17:27:16 2019
New Revision: 505172
URL: https://svnweb.freebsd.org/changeset/ports/505172

Log:
  Fix build with bison 3.4.1
  
  PR:		238141

Added:
  head/cad/iverilog/files/
  head/cad/iverilog/files/patch-bison   (contents, props changed)

Added: head/cad/iverilog/files/patch-bison
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/iverilog/files/patch-bison	Wed Jun 26 17:27:16 2019	(r505172)
@@ -0,0 +1,58 @@
+--- Makefile.in.orig	2017-08-24 15:22:49 UTC
++++ Makefile.in
+@@ -255,6 +255,7 @@ parse.o: parse.cc
+ # Build this in two steps to avoid parallel build issues (see pr3462585)
+ parse.cc: $(srcdir)/parse.y
+ 	$(YACC) --verbose -t -p VL -d -o $@ $<
++	touch parse.hh
+ parse.h: parse.cc
+ 	mv parse.cc.h $@ 2>/dev/null || mv parse.hh $@
+ 
+--- tgt-pcb/fp.y.orig	2017-08-24 15:22:49 UTC
++++ tgt-pcb/fp.y
+@@ -1,5 +1,5 @@
+ 
+-%pure-parser
++%define api.pure
+ %parse-param {const char*file_path}
+ 
+ %{
+--- tgt-pcb/Makefile.in.orig	2017-08-24 15:22:49 UTC
++++ tgt-pcb/Makefile.in
+@@ -89,6 +89,7 @@ fp_lex.cc: $(srcdir)/fp.lex
+ 
+ fp.cc: $(srcdir)/fp.y
+ 	$(YACC) --verbose -t -p fp -d -o $@ $<
++	touch fp.hh
+ fp.h: fp.cc
+ 	mv fp.cc.h $@ 2>/dev/null || mv fp.hh $@
+ 
+--- vhdlpp/Makefile.in.orig	2017-08-24 15:22:49 UTC
++++ vhdlpp/Makefile.in
+@@ -118,6 +118,7 @@ lexor.cc: $(srcdir)/lexor.lex
+ # Build this in two steps to avoid parallel build issues (see pr3462585)
+ parse.cc: $(srcdir)/parse.y
+ 	$(YACC) --verbose -t -d -o $@ $<
++	touch parse.hh
+ parse.h: parse.cc
+ 	mv parse.cc.h $@ 2>/dev/null || mv parse.hh $@
+ 
+--- vhdlpp/parse.y.orig	2017-08-24 15:22:49 UTC
++++ vhdlpp/parse.y
+@@ -1,5 +1,5 @@
+ 
+-%pure-parser
++%define api.pure
+ %lex-param { yyscan_t yyscanner }
+ %parse-param {yyscan_t yyscanner  }
+ %parse-param {const char*file_path}
+--- vvp/Makefile.in.orig	2017-08-24 15:22:49 UTC
++++ vvp/Makefile.in
+@@ -166,6 +166,7 @@ tables.o: tables.cc
+ # Build this in two steps to avoid parallel build issues (see pr3462585)
+ parse.cc: $(srcdir)/parse.y
+ 	$(YACC) --verbose -t -d -o $@ $<
++	touch parse.hh
+ parse.h: parse.cc
+ 	mv parse.cc.h $@ 2>/dev/null || mv parse.hh $@
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906261727.x5QHRGa5078610>