summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia')
-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"