summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-10-04 13:28:18 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-10-04 13:30:01 (GMT)
commit8fdedb84b1860c6286cfbf2d9d83c4465da8c787 (patch)
tree53e1f57cb1d31d844205116ff3f03543ff247d20
parent4b3bc153ad78615d71a307998d432e79d5d32cf4 (diff)
downloadbuildroot-8fdedb84b1860c6286cfbf2d9d83c4465da8c787.tar.gz
buildroot-8fdedb84b1860c6286cfbf2d9d83c4465da8c787.tar.bz2
gstreamer: fix bison bump build failure
It's due to deprecations in bison 3.0+, fixes: http://autobuild.buildroot.net/results/df4/df473cb34c9914b2c3d3d8ae344cbf7c19255468/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/gstreamer/gstreamer/gstreamer-01-bison3.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/gstreamer/gstreamer/gstreamer-01-bison3.patch b/package/gstreamer/gstreamer/gstreamer-01-bison3.patch
new file mode 100644
index 0000000..f9ec52d
--- /dev/null
+++ b/package/gstreamer/gstreamer/gstreamer-01-bison3.patch
@@ -0,0 +1,24 @@
+Fix deprecation from bison 3.0+
+From http://comments.gmane.org/gmane.linux.lfs.beyond.devel/24620
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura gstreamer-0.10.36.orig/gst/parse/grammar.y gstreamer-0.10.36/gst/parse/grammar.y
+--- gstreamer-0.10.36.orig/gst/parse/grammar.y 2013-10-04 09:52:21.685282055 -0300
++++ gstreamer-0.10.36/gst/parse/grammar.y 2013-10-04 10:21:54.800211238 -0300
+@@ -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