wok-next diff gstreamer0/stuff/patches/gstreamer-bison3.patch @ rev 21111
gdbm: split to "libpkg - pkg - pkg-dev"; fix some symlinks
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 11 14:45:46 2019 +0200 (2019-01-11) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gstreamer0/stuff/patches/gstreamer-bison3.patch Fri Jan 11 14:45:46 2019 +0200 1.3 @@ -0,0 +1,27 @@ 1.4 +From 90622bb35544655cf641e3ab65cf35a6d01869bc Mon Sep 17 00:00:00 2001 1.5 +From: Kerrick Staley <kerrick@kerrickstaley.com> 1.6 +Date: Tue, 20 Aug 2013 23:59:29 -0700 1.7 +Subject: [PATCH] Make grammar.y work with Bison 3 1.8 + 1.9 +YYLEX_PARAM is no longer supported in Bison 3. 1.10 + 1.11 +https://bugzilla.gnome.org/show_bug.cgi?id=706462 1.12 + 1.13 +--- a/gst/parse/grammar.y 1.14 ++++ b/gst/parse/grammar.y 1.15 +@@ -26,7 +26,6 @@ 1.16 + */ 1.17 + 1.18 + #define YYERROR_VERBOSE 1 1.19 +-#define YYLEX_PARAM scanner 1.20 + 1.21 + #define YYENABLE_NLS 0 1.22 + 1.23 +@@ -648,6 +647,7 @@ 1.24 + %right '.' 1.25 + %left '!' '=' 1.26 + 1.27 ++%lex-param { void *scanner } 1.28 + %parse-param { void *scanner } 1.29 + %parse-param { graph_t *graph } 1.30 + %pure-parser