1
0
forked from ports/opt

gstreamer1: fixes bison 3

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

View File

@ -1 +1,2 @@
ee75f226e605e4da4924fc9e70a97e05 bison.patch
cbbad73d703b811bc8bd18e47b36e534 gstreamer-1.0.9.tar.xz

View File

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

11
gstreamer1/bison.patch Normal file
View 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