aboutsummaryrefslogtreecommitdiffstats
path: root/main/gstreamer1
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-08-09 11:50:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-08-09 11:50:15 +0000
commit13ec99695b21eb49ab7404c9933b0cfd8fe40025 (patch)
treed19117be8ac08401f97ebcbaac07c3f594b7cc47 /main/gstreamer1
parentb60499667364d416f36d183d6c673b69c25ec2ca (diff)
downloadaports-13ec99695b21eb49ab7404c9933b0cfd8fe40025.tar.bz2
aports-13ec99695b21eb49ab7404c9933b0cfd8fe40025.tar.xz
main/gstreamer1: build fix for bison-3
Diffstat (limited to 'main/gstreamer1')
-rw-r--r--main/gstreamer1/APKBUILD12
-rw-r--r--main/gstreamer1/gst-bison-3.patch14
2 files changed, 22 insertions, 4 deletions
diff --git a/main/gstreamer1/APKBUILD b/main/gstreamer1/APKBUILD
index f7cade0251..15cd93fd1a 100644
--- a/main/gstreamer1/APKBUILD
+++ b/main/gstreamer1/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gstreamer1
pkgver=1.0.9
-pkgrel=0
+pkgrel=1
pkgdesc="GStreamer Multimedia Framework"
url="http://gstreamer.freedesktop.org/"
arch="all"
@@ -11,6 +11,7 @@ depends=
depends_dev="glib-dev libxml2-dev"
makedepends="$depends_dev bison flex gobject-introspection-dev"
source="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$pkgver.tar.xz
+ gst-bison-3.patch
"
_builddir="$srcdir"/gstreamer-$pkgver
@@ -58,6 +59,9 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
-md5sums="cbbad73d703b811bc8bd18e47b36e534 gstreamer-1.0.9.tar.xz"
-sha256sums="17a2c60a82baa461ef685ad3de187edb9c03a2c7e07513daba58a5a32efacaa3 gstreamer-1.0.9.tar.xz"
-sha512sums="22d1f8790b05fd445b7bdfdc48e1e634a0591db481cf4ab9b1aed33fc0fece5fddd3f4e7e263cf98dae77aaaa9ec93cdf1fd2ef7f3ee65c80d476229155a0533 gstreamer-1.0.9.tar.xz"
+md5sums="cbbad73d703b811bc8bd18e47b36e534 gstreamer-1.0.9.tar.xz
+648baf38c996f36536acfa54f4639839 gst-bison-3.patch"
+sha256sums="17a2c60a82baa461ef685ad3de187edb9c03a2c7e07513daba58a5a32efacaa3 gstreamer-1.0.9.tar.xz
+4639616c88fc0d2f4e3d6b85c117f1b754cae388ab9e3ade80ad1a507d0053c5 gst-bison-3.patch"
+sha512sums="22d1f8790b05fd445b7bdfdc48e1e634a0591db481cf4ab9b1aed33fc0fece5fddd3f4e7e263cf98dae77aaaa9ec93cdf1fd2ef7f3ee65c80d476229155a0533 gstreamer-1.0.9.tar.xz
+71d206189c7c6d0492ab154afdf8fa8ea293b966ec71c7a082c32799bbb6a78dcf806f857f6538d9482375e3c7def8bc65f26b55d26003a504638862c4d4c801 gst-bison-3.patch"
diff --git a/main/gstreamer1/gst-bison-3.patch b/main/gstreamer1/gst-bison-3.patch
new file mode 100644
index 0000000000..f29e68a4de
--- /dev/null
+++ b/main/gstreamer1/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