]> git.pld-linux.org Git - packages/gstreamer0.10.git/commitdiff
- fix building with bison3
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 30 Dec 2014 07:08:44 +0000 (07:08 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 30 Dec 2014 07:08:44 +0000 (07:08 +0000)
bison3.patch [new file with mode: 0644]
gstreamer0.10.spec

diff --git a/bison3.patch b/bison3.patch
new file mode 100644 (file)
index 0000000..f569b1d
--- /dev/null
@@ -0,0 +1,31 @@
+From 60516f4798894f958fc53b470e1283318d0f8706 Mon Sep 17 00:00:00 2001
+From: Kerrick Staley <kerrick@kerrickstaley.com>
+Date: Wed, 21 Aug 2013 06:59:29 +0000
+Subject: 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
+---
+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
+--
+cgit v0.9.0.2-2-gbebe
index f2383cb90cea803e451ed40e0d36259558d38571..8c07e0b8d58ba7a9f4843c29817c791b858bf9c0 100644 (file)
@@ -10,6 +10,7 @@ Source0:      http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar
 Patch0:                gstreamer-without_ps_pdf.patch
 Patch1:                gstreamer-eps.patch
 Patch2:                gstreamer-inspect-rpm-format.patch
+Patch3:                bison3.patch
 URL:           http://gstreamer.net/
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake >= 1:1.11
@@ -105,6 +106,7 @@ Dokumentacja API Gstreamera.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 # po/Makefile.in.in is modified
This page took 0.151109 seconds and 4 git commands to generate.