[OE-core] [PATCH 1/1] flex: fix test-bison-yylval and test-bison-yylloc failed

Hongxu Jia hongxu.jia at windriver.com
Thu Nov 12 09:17:15 UTC 2015


On 11/11/2015 02:58 PM, Hongxu Jia wrote:
> The tests in flex test-bison-yylval and test-bison-yylloc
> failed, so we backport a patch from upstream to fix it.
>
> Signed-off-by: Hongxu Jia<hongxu.jia at windriver.com>
> ---
>   ...fixes-Do-not-use-obsolete-bison-construct.patch | 81 ++++++++++++++++++++++
>   meta/recipes-devtools/flex/flex.inc                |  1 +
>   2 files changed, 82 insertions(+)
>   create mode 100644 meta/recipes-devtools/flex/files/0001-bison-test-fixes-Do-not-use-obsolete-bison-construct.patch
>
> diff --git a/meta/recipes-devtools/flex/files/0001-bison-test-fixes-Do-not-use-obsolete-bison-construct.patch b/meta/recipes-devtools/flex/files/0001-bison-test-fixes-Do-not-use-obsolete-bison-construct.patch
> new file mode 100644
> index 0000000..20c0a7b
> --- /dev/null
> +++ b/meta/recipes-devtools/flex/files/0001-bison-test-fixes-Do-not-use-obsolete-bison-construct.patch
> @@ -0,0 +1,81 @@
> +From 7fbc074901129ffaff9e18fadacae62d8053ad95 Mon Sep 17 00:00:00 2001
> +From: Manoj Srivastava<srivasta at golden-gryphon.com>
> +Date: Wed, 9 Apr 2014 00:23:07 -0700
> +Subject: [PATCH] Do not use obsolete bison constructs in tests.
> +
> +In Bison 3.0, support for YYLEX_PARAM and YYPARSE_PARAM has been
> +removed (deprecated in Bison 1.875): use %lex-param, %parse-param, or
> +%param. This commit fixes the tests so they still work.
> +
> +Signed-off-by: Manoj Srivastava<srivasta at golden-gryphon.com>
> +
> +Upstream-Status:  Backport from upstream
> +http://sourceforge.net/p/flex/bugs/169/
Use format with 'Upstream-Status [foo]' to instead

+Upstream-Status: Backport[from http://sourceforge.net/p/flex/bugs/169/]

Update git repo

   git://git.pokylinux.org/poky-contrib hongxu/flex
   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/flex

//Hongxu



> +
> +Signed-off-by: Hongxu Jia<hongxu.jia at windriver.com>




More information about the Openembedded-core mailing list