summaryrefslogtreecommitdiff
path: root/package/gstreamer/gstreamer/0001-bison3.patch
blob: f9ec52d95a742b1dd4b402086b86a24da38c042d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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