summaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-12-02 04:57:52 +0000
committermarcus <marcus@FreeBSD.org>2002-12-02 04:57:52 +0000
commit302b82ad053fd6d710829c6ac45c36d37b62e251 (patch)
tree3152a13985f7def0198e3168bde792232c294bce /cad
parent06bd3fa30a436a70fc7cf94a68510679092c0ac1 (diff)
downloadFreeBSD-ports-302b82ad053fd6d710829c6ac45c36d37b62e251.zip
FreeBSD-ports-302b82ad053fd6d710829c6ac45c36d37b62e251.tar.gz
Fix build with bison 1.75.
Reported by: bento
Diffstat (limited to 'cad')
-rw-r--r--cad/iverilog/files/patch-driver_parse.y10
-rw-r--r--cad/iverilog/files/patch-parse.y19
-rw-r--r--cad/iverilog/files/patch-parse_misc.h12
3 files changed, 41 insertions, 0 deletions
diff --git a/cad/iverilog/files/patch-driver_parse.y b/cad/iverilog/files/patch-driver_parse.y
new file mode 100644
index 0000000..6838ca0
--- /dev/null
+++ b/cad/iverilog/files/patch-driver_parse.y
@@ -0,0 +1,10 @@
+--- driver/parse.y.orig Mon Dec 2 00:00:22 2002
++++ driver/parse.y Mon Dec 2 00:00:33 2002
+@@ -133,6 +133,7 @@
+ %%
+
+ start: section_list
++ ;
+
+ section_list
+ : section
diff --git a/cad/iverilog/files/patch-parse.y b/cad/iverilog/files/patch-parse.y
new file mode 100644
index 0000000..47d1930
--- /dev/null
+++ b/cad/iverilog/files/patch-parse.y
@@ -0,0 +1,19 @@
+--- parse.y.orig Tue Jan 22 22:35:17 2002
++++ parse.y Sun Dec 1 23:59:12 2002
+@@ -831,7 +831,7 @@
+ tmp->set_file(@1.text);
+ tmp->set_lineno(@1.first_line);
+ $$ = tmp;
+- delete $1
++ delete $1;
+ }
+ | identifier '[' expression ']'
+ { PEIdent*tmp = new PEIdent(*$1);
+@@ -1046,6 +1046,7 @@
+ delete $3;
+ $$ = tmp;
+ }
++ ;
+
+ list_of_ports
+ : port_opt
diff --git a/cad/iverilog/files/patch-parse_misc.h b/cad/iverilog/files/patch-parse_misc.h
new file mode 100644
index 0000000..3753c5a
--- /dev/null
+++ b/cad/iverilog/files/patch-parse_misc.h
@@ -0,0 +1,12 @@
+--- parse_misc.h.orig Sun Dec 1 23:51:26 2002
++++ parse_misc.h Sun Dec 1 23:56:43 2002
+@@ -38,6 +38,9 @@
+ const char*text;
+ };
+ # define YYLTYPE vlltype
++#ifndef yylloc
++#define yylloc VLlloc
++#endif
+ extern YYLTYPE yylloc;
+
+ /*
OpenPOWER on IntegriCloud