aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-08-09 11:10:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-08-09 11:10:51 +0000
commit178ed1774ebfbe3ff0f431f29e963fca64ee6aec (patch)
tree2909417af9eab2a895a0eec6860b443ebacfb0bc /main
parent246cddfac4d10e12967b5cc570f596d057e88eed (diff)
downloadaports-178ed1774ebfbe3ff0f431f29e963fca64ee6aec.tar.bz2
aports-178ed1774ebfbe3ff0f431f29e963fca64ee6aec.tar.xz
main/gstreamer: build fix for bison-3
Diffstat (limited to 'main')
-rw-r--r--main/gstreamer/APKBUILD10
-rw-r--r--main/gstreamer/gst-bison-3.patch14
2 files changed, 22 insertions, 2 deletions
diff --git a/main/gstreamer/APKBUILD b/main/gstreamer/APKBUILD
index ce158ab2f9..63ccac79c6 100644
--- a/main/gstreamer/APKBUILD
+++ b/main/gstreamer/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gstreamer
pkgver=0.10.36
-pkgrel=2
+pkgrel=3
pkgdesc="GStreamer Multimedia Framework"
url="http://gstreamer.freedesktop.org/"
arch="all"
@@ -11,6 +11,7 @@ depends=
makedepends="pkgconfig libxml2-dev glib-dev bison flex gettext-dev libiconv-dev
gobject-introspection-dev"
source="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$pkgver.tar.bz2
+ gst-bison-3.patch
"
depends_dev="glib-dev libxml2-dev"
@@ -61,4 +62,9 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
-md5sums="a0cf7d6877f694a1a2ad2b4d1ecb890b gstreamer-0.10.36.tar.bz2"
+md5sums="a0cf7d6877f694a1a2ad2b4d1ecb890b gstreamer-0.10.36.tar.bz2
+648baf38c996f36536acfa54f4639839 gst-bison-3.patch"
+sha256sums="e556a529e0a8cf1cd0afd0cab2af5488c9524e7c3f409de29b5d82bb41ae7a30 gstreamer-0.10.36.tar.bz2
+4639616c88fc0d2f4e3d6b85c117f1b754cae388ab9e3ade80ad1a507d0053c5 gst-bison-3.patch"
+sha512sums="f6037bdadbc05122208313ce53d0e29da0381ed8ec67fee7cb39c8aca83fc540d646b65b0790c14c2365d6bd8443ba4008479dcd23a2e34b05536697c7208962 gstreamer-0.10.36.tar.bz2
+71d206189c7c6d0492ab154afdf8fa8ea293b966ec71c7a082c32799bbb6a78dcf806f857f6538d9482375e3c7def8bc65f26b55d26003a504638862c4d4c801 gst-bison-3.patch"
diff --git a/main/gstreamer/gst-bison-3.patch b/main/gstreamer/gst-bison-3.patch
new file mode 100644
index 0000000000..f29e68a4de
--- /dev/null
+++ b/main/gstreamer/gst-bison-3.patch
@@ -0,0 +1,14 @@
+$NetBSD: patch-gst_parse_grammar.y,v 1.1 2013/08/01 22:08:16 wiz Exp $
+
+Fix build with bison-3.0.
+
+--- a/gst/parse/grammar.y.orig 2011-12-30 01:14:35.000000000 +0000
++++ b/gst/parse/grammar.y
+@@ -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