summaryrefslogtreecommitdiffstats
path: root/patches/gstreamer-0.10.36
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-01-07 22:07:46 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-01-09 10:28:42 +0100
commit3eaf9d1b613d4206519cc1d178d311a0edfe413a (patch)
treeb990003aa9e02a3ab8245b89dffbbe454d6db672 /patches/gstreamer-0.10.36
parent7c5ab86972845cdf20f6dd7c867c3738a7db168c (diff)
downloadptxdist-3eaf9d1b613d4206519cc1d178d311a0edfe413a.tar.gz
ptxdist-3eaf9d1b613d4206519cc1d178d311a0edfe413a.tar.xz
gstreamer: add upstream patch to fix building with bison 3
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/gstreamer-0.10.36')
-rw-r--r--patches/gstreamer-0.10.36/0001-parse-make-grammar.y-work-with-Bison-3.patch31
-rw-r--r--patches/gstreamer-0.10.36/series4
2 files changed, 35 insertions, 0 deletions
diff --git a/patches/gstreamer-0.10.36/0001-parse-make-grammar.y-work-with-Bison-3.patch b/patches/gstreamer-0.10.36/0001-parse-make-grammar.y-work-with-Bison-3.patch
new file mode 100644
index 000000000..2bf7c7204
--- /dev/null
+++ b/patches/gstreamer-0.10.36/0001-parse-make-grammar.y-work-with-Bison-3.patch
@@ -0,0 +1,31 @@
+From: Kerrick Staley <kerrick@kerrickstaley.com>
+Date: Tue, 20 Aug 2013 23:59:29 -0700
+Subject: [PATCH] parse: make grammar.y work with Bison 3
+
+YYLEX_PARAM is no longer supported in Bison 3.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=706462
+---
+ gst/parse/grammar.y | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y
+index 24fc87b..7f9dd16 100644
+--- a/gst/parse/grammar.y
++++ b/gst/parse/grammar.y
+@@ -26,7 +26,6 @@
+ */
+
+ #define YYERROR_VERBOSE 1
+-#define YYLEX_PARAM scanner
+
+ #define YYENABLE_NLS 0
+
+@@ -648,6 +647,7 @@ static int yyerror (void *scanner, graph_t *graph, const char *s);
+ %right '.'
+ %left '!' '='
+
++%lex-param { void *scanner }
+ %parse-param { void *scanner }
+ %parse-param { graph_t *graph }
+ %pure-parser
diff --git a/patches/gstreamer-0.10.36/series b/patches/gstreamer-0.10.36/series
new file mode 100644
index 000000000..25b0b109f
--- /dev/null
+++ b/patches/gstreamer-0.10.36/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-parse-make-grammar.y-work-with-Bison-3.patch
+# a3a435f70f584cb974149d88dc7a8704 - git-ptx-patches magic