Magellan Linux

Annotation of /trunk/gstreamer/patches/gstreamer-0.10.36-bison3.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2329 - (hide annotations) (download)
Thu Dec 5 10:30:11 2013 UTC (10 years, 6 months ago) by niro
File size: 806 byte(s)
-fixed build with bison-3
1 niro 2329 From 60516f4798894f958fc53b470e1283318d0f8706 Mon Sep 17 00:00:00 2001
2     From: Kerrick Staley <kerrick@kerrickstaley.com>
3     Date: Wed, 21 Aug 2013 06:59:29 +0000
4     Subject: parse: make grammar.y work with Bison 3
5    
6     YYLEX_PARAM is no longer supported in Bison 3.
7    
8     https://bugzilla.gnome.org/show_bug.cgi?id=706462
9     ---
10     diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y
11     index 24fc87b..7f9dd16 100644
12     --- a/gst/parse/grammar.y
13     +++ b/gst/parse/grammar.y
14     @@ -26,7 +26,6 @@
15     */
16    
17     #define YYERROR_VERBOSE 1
18     -#define YYLEX_PARAM scanner
19    
20     #define YYENABLE_NLS 0
21    
22     @@ -648,6 +647,7 @@ static int yyerror (void *scanner, graph_t *graph, const char *s);
23     %right '.'
24     %left '!' '='
25    
26     +%lex-param { void *scanner }
27     %parse-param { void *scanner }
28     %parse-param { graph_t *graph }
29     %pure-parser
30     --
31     cgit v0.9.0.2-2-gbebe