summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/flex/flex
Commit message (Collapse)AuthorAgeFilesLines
* Revert "flex: upgrade to 2.6.2"Trevor Woerner2017-03-014-214/+140
| | | | | | | | | | | | | | | This reverts commit 3632abd01abb8dfff230e18f828af705da488f97. Multiple people have expressed issues with flex-2.6.2; personally I had problems compiling libsepol from meta-selinux (for libselinux). I tried upgrading to flex-2.6.3, but that caused binutils-cross_2.27 to fail. The simplest for now is to downgrade to flex-2.6.0. (From OE-Core rev: b45776bbdafa6f6afe815714ac329494ad57e644) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flex: upgrade to 2.6.2Ross Burton2017-01-164-140/+214
| | | | | | | | | | | | | | | Patches dropped as they are merged upstream: - CVE-2016-6354.patch - 0002-avoid-c-comments-in-c-code-fails-with-gcc-6.patch - do_not_create_pdf_doc.patch Apply a patch from github to simplify cross-compilation and not need a flex-native to bootstrap. (From OE-Core rev: 3632abd01abb8dfff230e18f828af705da488f97) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flex: Backport buffer overflow fixJussi Kukkonen2016-10-111-0/+59
| | | | | | | | | | Fix a heap-based buffer overflow in yy_get_next_buffer() (CVE-2016-6354). (From OE-Core rev: 68d56306baa21e66756fb44c6c5680e725b1e3bc) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flex: fix gcc-6 failureAndreas Müller2016-09-031-0/+64
| | | | | | | | | | | | | Gcc-6 does not allow c++ comments withing c-code. Files generated by flex can fail with: | error: C++ style comments are not allowed in ISO C90 | num_to_alloc = 1; // After all that talk, this was set to 1 anyways... (From OE-Core rev: 6336c5bafe617e775037d5243d4bb5e236e74679) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flex: update to 2.6.0Alexander Kanavin2015-12-224-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | Drop backported 0001-bison-test-fixes-Do-not-use-obsolete-bison-construct.patch Test cases have been completely rearranged upstream, so ptest support is fully rewritten. Merge split bb/inc as there's no other user of the .inc [RB] As automake insists adding BUILD_SOURCES as a dependency to the "all" target, remove tests/ from the build unless ptests are enabled. This means native builds don't need a bison dependency. If ptests are enabled, we build-depend on flex-native and bison-native for the test suite, and tell it to use the flex-native binary instead of attempting to run the cross flex it just built. [RB] Move in-tree files from files/ to flex/ for consistency. [RB] (From OE-Core rev: 4fe048b7b32eb3d20a43171b83e8ad2037192d34) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flex: upgrade to 2.5.37Laurentiu Palcu2013-08-032-101/+0
| | | | | | | | | | | | | | Removed patches since they were included upstream. Added a patch to not compile flex.pdf doc since it needs texi2dvi. (From OE-Core rev: bed86662efdd73be2a0dcde217d44be8e00c0822) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> [sgw - Dropped PR] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flex: backport Debian patches to fix generated code warningsOtavio Salvador2012-04-162-0/+101
The generated parser had warnings regarding signess and return check which makes Linux Kernel's perf tool from 3.4 release to fail without those patches. (From OE-Core rev: f3d7197252d1ede627a561fbd5b3b7fb759bf75b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>