gstreamer: fixes bison 3. FS#946

This commit is contained in:
Danny Rawlins 2013-08-10 20:21:08 +10:00
parent 2ad28e96fa
commit ac15503977
3 changed files with 17 additions and 2 deletions

View File

@ -1 +1,2 @@
2a87d04f9f05b6cbf064b92cf090807c bison.patch
15389c73e091b1dda915279c388b9cb2 gstreamer-0.10.36.tar.xz

View File

@ -6,12 +6,15 @@
name=gstreamer
version=0.10.36
release=1
source=(http://gstreamer.freedesktop.org/src/$name/$name-$version.tar.xz)
release=2
source=(http://gstreamer.freedesktop.org/src/$name/$name-$version.tar.xz
bison.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/bison.patch
./configure \
--prefix=/usr \
--mandir=/usr/man \

11
gstreamer/bison.patch Normal file
View File

@ -0,0 +1,11 @@
diff -pruN 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-08-10 10:07:05.637507000 +0000
+++ gstreamer-0.10.36/gst/parse/grammar.y 2013-08-10 10:07:18.245507789 +0000
@@ -650,6 +650,7 @@ static int yyerror (void *scanner, graph
%parse-param { void *scanner }
%parse-param { graph_t *graph }
+%lex-param {void *scanner}
%pure-parser
%start graph