summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-12-02 03:45:57 +0000
committermarcus <marcus@FreeBSD.org>2002-12-02 03:45:57 +0000
commitca8d677df30d114370e26750bad0c4d6ba70d498 (patch)
treed247f5570dd61c9b6e3409e3585c4b2473565246 /graphics
parent248cfbee8a2bdf53494ca7e85a0bab999e66d4b2 (diff)
downloadFreeBSD-ports-ca8d677df30d114370e26750bad0c4d6ba70d498.zip
FreeBSD-ports-ca8d677df30d114370e26750bad0c4d6ba70d498.tar.gz
Fix build with bison 1.75.
Reported by: bento
Diffstat (limited to 'graphics')
-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 0000000..e83b100
--- /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();
+ }
++ ;
+
+ /******************************************************************
+ *
OpenPOWER on IntegriCloud