aboutsummaryrefslogtreecommitdiffstats
path: root/main/gstreamer/gst-bison-3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gstreamer/gst-bison-3.patch')
-rw-r--r--main/gstreamer/gst-bison-3.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/gstreamer/gst-bison-3.patch b/main/gstreamer/gst-bison-3.patch
new file mode 100644
index 0000000000..f29e68a4de
--- /dev/null
+++ b/main/gstreamer/gst-bison-3.patch
@@ -0,0 +1,14 @@
+$NetBSD: patch-gst_parse_grammar.y,v 1.1 2013/08/01 22:08:16 wiz Exp $
+
+Fix build with bison-3.0.
+
+--- a/gst/parse/grammar.y.orig 2011-12-30 01:14:35.000000000 +0000
++++ b/gst/parse/grammar.y
+@@ -650,6 +650,7 @@ static int yyerror (void *scanner, graph
+
+ %parse-param { void *scanner }
+ %parse-param { graph_t *graph }
++%lex-param {void *scanner}
+ %pure-parser
+
+ %start graph