diff options
author | Chong Lu <Chong.Lu@windriver.com> | 2015-04-14 02:07:13 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-21 07:19:06 +0100 |
commit | e20e186959c64a6cb405761417969429ddf6011e (patch) | |
tree | 3a7380cd33fd93df9683a896e1c8609bbf34ad70 /meta/recipes-multimedia/gstreamer/gstreamer-0.10.36 | |
parent | d90fe3be2693a4810f0e165a278d19662abf3477 (diff) | |
download | openembedded-core-contrib-e20e186959c64a6cb405761417969429ddf6011e.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
| ^
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.patch | 33 |
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 @@ +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 +| ^ + +Upstream-Status: Pending + +Signed-off-by: Chong Lu <Chong.Lu@windriver.com> +--- + gst/parse/grammar.y | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y +index 24fc87b..24fe906 100644 +--- a/gst/parse/grammar.y ++++ b/gst/parse/grammar.y +@@ -36,7 +36,7 @@ + + typedef void* yyscan_t; + +-int priv_gst_parse_yylex (void * yylval_param , yyscan_t yyscanner); ++int priv_gst_parse_yylex (yyscan_t yyscanner); + int priv_gst_parse_yylex_init (yyscan_t scanner); + int priv_gst_parse_yylex_destroy (yyscan_t scanner); + struct yy_buffer_state * priv_gst_parse_yy_scan_string (char* , yyscan_t); +-- +1.9.1 + |