aboutsummaryrefslogtreecommitdiffstats
path: root/main/gstreamer/gst-bison-3.patch
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/gstreamer/gst-bison-3.patch
parent246cddfac4d10e12967b5cc570f596d057e88eed (diff)
downloadaports-178ed1774ebfbe3ff0f431f29e963fca64ee6aec.tar.bz2
aports-178ed1774ebfbe3ff0f431f29e963fca64ee6aec.tar.xz
main/gstreamer: build fix for bison-3
Diffstat (limited to 'main/gstreamer/gst-bison-3.patch')
-rw-r--r--main/gstreamer/gst-bison-3.patch14
1 files changed, 14 insertions, 0 deletions
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