From be9681225f9e9e59e72cd51b83cb39f5f608e626 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 1 Aug 2013 22:08:16 +0000 Subject: Fix build with bison-3.0. Addresses PR 48103 by Greg Oster. --- multimedia/gstreamer0.10/distinfo | 3 ++- multimedia/gstreamer0.10/patches/patch-gst_parse_grammar.y | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 multimedia/gstreamer0.10/patches/patch-gst_parse_grammar.y (limited to 'multimedia/gstreamer0.10') diff --git a/multimedia/gstreamer0.10/distinfo b/multimedia/gstreamer0.10/distinfo index 2d990b2c006..c0998432e0d 100644 --- a/multimedia/gstreamer0.10/distinfo +++ b/multimedia/gstreamer0.10/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.32 2012/02/28 18:25:14 drochner Exp $ +$NetBSD: distinfo,v 1.33 2013/08/01 22:08:16 wiz Exp $ SHA1 (gstreamer-0.10.36.tar.bz2) = ff95b5316b920e7c2836588bba18fa61395fbd03 RMD160 (gstreamer-0.10.36.tar.bz2) = 5dd01d8ea7afe98e96037bf73f995654f469096e Size (gstreamer-0.10.36.tar.bz2) = 3655705 bytes SHA1 (patch-aa) = bc10562292a005ec43d64401964eddf50d9aa1d5 SHA1 (patch-af) = 9c3a045b4b7d17ca40edae513167bbba049aaa76 +SHA1 (patch-gst_parse_grammar.y) = 73cf46f94b436972666726d0f395ffcf8cf5abc2 diff --git a/multimedia/gstreamer0.10/patches/patch-gst_parse_grammar.y b/multimedia/gstreamer0.10/patches/patch-gst_parse_grammar.y new file mode 100644 index 00000000000..d97a879dd9c --- /dev/null +++ b/multimedia/gstreamer0.10/patches/patch-gst_parse_grammar.y @@ -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. + +--- gst/parse/grammar.y.orig 2011-12-30 01:14:35.000000000 +0000 ++++ 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 -- cgit v1.2.3