summaryrefslogtreecommitdiffstats
path: root/meta
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
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')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer-0.10.36/gstreamer-change-priv_gst_parse_yylex-arguments.patch33
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer_0.10.36.bb1
2 files changed, 34 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
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer_0.10.36.bb b/meta/recipes-multimedia/gstreamer/gstreamer_0.10.36.bb
index f08908a216..5b30603415 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer_0.10.36.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer_0.10.36.bb
@@ -15,6 +15,7 @@ SRC_URI = "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.bz
15 file://check_fix.patch \ 15 file://check_fix.patch \
16 file://gst-inspect-check-error.patch \ 16 file://gst-inspect-check-error.patch \
17 file://0001-baseparse-Fix-self-comparison-always-evaluates-to-tr.patch \ 17 file://0001-baseparse-Fix-self-comparison-always-evaluates-to-tr.patch \
18 file://gstreamer-change-priv_gst_parse_yylex-arguments.patch \
18" 19"
19 20
20SRC_URI[md5sum] = "a0cf7d6877f694a1a2ad2b4d1ecb890b" 21SRC_URI[md5sum] = "a0cf7d6877f694a1a2ad2b4d1ecb890b"