Fix gstreamer compilation with new bison
authorHugo Villeneuve <hugo@hugovil.com>
Mon, 29 Dec 2014 16:23:55 +0000 (11:23 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Mon, 29 Dec 2014 16:24:31 +0000 (11:24 -0500)
stage5/patches/common/gstreamer-0.10.36-bison.patch [new file with mode: 0644]

diff --git a/stage5/patches/common/gstreamer-0.10.36-bison.patch b/stage5/patches/common/gstreamer-0.10.36-bison.patch
new file mode 100644 (file)
index 0000000..38ab29d
--- /dev/null
@@ -0,0 +1,19 @@
+diff -Naur gstreamer-0.10.36.orig/gst/parse/grammar.y gstreamer-0.10.36.new/gst/parse/grammar.y
+--- gstreamer-0.10.36.orig/gst/parse/grammar.y 2011-12-29 20:14:35.000000000 -0500
++++ gstreamer-0.10.36.new/gst/parse/grammar.y  2014-12-28 23:22:06.217429309 -0500
+@@ -26,7 +26,6 @@
+  */
+ #define YYERROR_VERBOSE 1
+-#define YYLEX_PARAM scanner
+ #define YYENABLE_NLS 0
+@@ -648,6 +647,7 @@
+ %right '.'
+ %left '!' '='
++%lex-param { void *scanner }
+ %parse-param { void *scanner }
+ %parse-param { graph_t *graph }
+ %pure-parser