summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer-0.10.36
diff options
context:
space:
mode:
authorChong Lu <Chong.Lu@windriver.com>2015-04-14 02:07:13 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-21 07:20:26 +0100
commit4f358389b21bd2cc9a8c2876311274f8f16c5b7c (patch)
tree33db54c186bb22ba79a1aa3da2da50fa239035e5 /meta/recipes-multimedia/gstreamer/gstreamer-0.10.36
parentb20b0a68bf1adf10b1b30fdcaf59ad5688096a9c (diff)
downloadpoky-4f358389b21bd2cc9a8c2876311274f8f16c5b7c.tar.gz
gstreamer: change priv_gst_parse_yylex arguments
Change priv_gst_parse_yylex to fit new bison version, else we will get following error: | grammar.tab.c: In function 'priv_gst_parse_yyparse': | grammar.tab.c:67:25: error: too few arguments to function 'priv_gst_parse_yylex' | #define yylex priv_gst_parse_yylex | ^ (From OE-Core rev: e20e186959c64a6cb405761417969429ddf6011e) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer-0.10.36')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer-0.10.36/gstreamer-change-priv_gst_parse_yylex-arguments.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer-0.10.36/gstreamer-change-priv_gst_parse_yylex-arguments.patch b/meta/recipes-multimedia/gstreamer/gstreamer-0.10.36/gstreamer-change-priv_gst_parse_yylex-arguments.patch
new file mode 100644
index 0000000000..bf93cb2190
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer-0.10.36/gstreamer-change-priv_gst_parse_yylex-arguments.patch
@@ -0,0 +1,33 @@
1gstreamer: change priv_gst_parse_yylex arguments
2
3Change priv_gst_parse_yylex to fit new bison version, else we will
4get following error:
5
6| grammar.tab.c: In function 'priv_gst_parse_yyparse':
7| grammar.tab.c:67:25: error: too few arguments to function 'priv_gst_parse_yylex'
8| #define yylex priv_gst_parse_yylex
9| ^
10
11Upstream-Status: Pending
12
13Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
14---
15 gst/parse/grammar.y | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y
19index 24fc87b..24fe906 100644
20--- a/gst/parse/grammar.y
21+++ b/gst/parse/grammar.y
22@@ -36,7 +36,7 @@
23
24 typedef void* yyscan_t;
25
26-int priv_gst_parse_yylex (void * yylval_param , yyscan_t yyscanner);
27+int priv_gst_parse_yylex (yyscan_t yyscanner);
28 int priv_gst_parse_yylex_init (yyscan_t scanner);
29 int priv_gst_parse_yylex_destroy (yyscan_t scanner);
30 struct yy_buffer_state * priv_gst_parse_yy_scan_string (char* , yyscan_t);
31--
321.9.1
33