aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/cybervrml97
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-12-02 11:45:57 +0800
committermarcus <marcus@FreeBSD.org>2002-12-02 11:45:57 +0800
commitca8d677df30d114370e26750bad0c4d6ba70d498 (patch)
treed247f5570dd61c9b6e3409e3585c4b2473565246 /graphics/cybervrml97
parent248cfbee8a2bdf53494ca7e85a0bab999e66d4b2 (diff)
downloadfreebsd-ports-graphics-ca8d677df30d114370e26750bad0c4d6ba70d498.tar.gz
freebsd-ports-graphics-ca8d677df30d114370e26750bad0c4d6ba70d498.tar.zst
freebsd-ports-graphics-ca8d677df30d114370e26750bad0c4d6ba70d498.zip
Fix build with bison 1.75.
Reported by: bento
Diffstat (limited to 'graphics/cybervrml97')
-rw-r--r--graphics/cybervrml97/files/patch-vrml.y34
1 files changed, 34 insertions, 0 deletions
diff --git a/graphics/cybervrml97/files/patch-vrml.y b/graphics/cybervrml97/files/patch-vrml.y
new file mode 100644
index 00000000000..e83b100bd04
--- /dev/null
+++ b/graphics/cybervrml97/files/patch-vrml.y
@@ -0,0 +1,34 @@
+--- vrml.y.orig Sun Dec 1 22:46:12 2002
++++ vrml.y Sun Dec 1 22:46:55 2002
+@@ -84,7 +84,6 @@
+ #define YYMAXDEPTH (1024 * 8 * 1000)
+
+ int yyerror(char *s);
+-int yyparse(void);
+ int yylex(void);
+
+ %}
+@@ -546,6 +545,7 @@
+ AddNode(audioClip);
+ PushNode(VRML_NODETYPE_AUDIOCLIP, audioClip);
+ }
++ ;
+
+ AudioClip
+ : AudioClipBegin NodeBegin AudioClipElements NodeEnd
+@@ -1928,6 +1928,7 @@
+ {
+ ((MaterialNode *)GetCurrentNodeObject())->setTransparency($2);
+ }
++ ;
+
+ MaterialBegin
+ : MATERIAL
+@@ -2410,6 +2411,7 @@
+ pset->initialize();
+ PopNode();
+ }
++ ;
+
+ /******************************************************************
+ *