gstreamer1: fixes bison 3
This commit is contained in:
parent
ac15503977
commit
c337f2afff
@ -1 +1,2 @@
|
|||||||
|
ee75f226e605e4da4924fc9e70a97e05 bison.patch
|
||||||
cbbad73d703b811bc8bd18e47b36e534 gstreamer-1.0.9.tar.xz
|
cbbad73d703b811bc8bd18e47b36e534 gstreamer-1.0.9.tar.xz
|
||||||
|
@ -6,12 +6,15 @@
|
|||||||
|
|
||||||
name=gstreamer1
|
name=gstreamer1
|
||||||
version=1.0.9
|
version=1.0.9
|
||||||
release=1
|
release=2
|
||||||
source=(http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$version.tar.xz)
|
source=(http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$version.tar.xz
|
||||||
|
bison.patch)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd gstreamer-$version
|
cd gstreamer-$version
|
||||||
|
|
||||||
|
patch -p1 -i $SRC/bison.patch
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
|
11
gstreamer1/bison.patch
Normal file
11
gstreamer1/bison.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -pruN gstreamer-1.0.9.orig/gst/parse/grammar.y gstreamer-1.0.9/gst/parse/grammar.y
|
||||||
|
--- gstreamer-1.0.9.orig/gst/parse/grammar.y 2013-08-10 10:23:40.609707796 +0000
|
||||||
|
+++ gstreamer-1.0.9/gst/parse/grammar.y 2013-08-10 10:23:52.422799035 +0000
|
||||||
|
@@ -659,6 +659,7 @@ static int yyerror (void *scanner, graph
|
||||||
|
|
||||||
|
%parse-param { void *scanner }
|
||||||
|
%parse-param { graph_t *graph }
|
||||||
|
+%lex-param {void *scanner}
|
||||||
|
%pure-parser
|
||||||
|
|
||||||
|
%start graph
|
Loading…
x
Reference in New Issue
Block a user