aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory M. Tuner <gmt@be-evil.net>2014-01-28 02:31:16 -0800
committerGregory M. Tuner <gmt@be-evil.net>2014-01-28 02:31:16 -0800
commit9088c93a3b0eea76662637addedd3e516f351000 (patch)
tree124ee33864b2a153055cd7730c8e6b0dac21d042 /sys-devel
parentmedia-plugins/gst-plugins-soup: oops, manifest (diff)
downloadgmt-9088c93a3b0eea76662637addedd3e516f351000.tar.gz
gmt-9088c93a3b0eea76662637addedd3e516f351000.tar.bz2
gmt-9088c93a3b0eea76662637addedd3e516f351000.zip
sys-devel/flex: clone upstream
Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/flex/ChangeLog345
-rw-r--r--sys-devel/flex/Manifest10
-rw-r--r--sys-devel/flex/files/flex-2.5.33-pic.patch12
-rw-r--r--sys-devel/flex/files/flex-2.5.34-isatty.patch53
-rw-r--r--sys-devel/flex/files/flex-2.5.35-gcc44.patch13
-rw-r--r--sys-devel/flex/files/flex-2.5.35-saneautotools.patch77
-rw-r--r--sys-devel/flex/files/flex-2.5.37-proto.patch27
-rw-r--r--sys-devel/flex/files/flex-2.5.37-tests.patch113
-rw-r--r--sys-devel/flex/flex-2.5.37-r1.ebuild51
-rw-r--r--sys-devel/flex/metadata.xml5
10 files changed, 706 insertions, 0 deletions
diff --git a/sys-devel/flex/ChangeLog b/sys-devel/flex/ChangeLog
new file mode 100644
index 0000000..a8c4232
--- /dev/null
+++ b/sys-devel/flex/ChangeLog
@@ -0,0 +1,345 @@
+# ChangeLog for sys-devel/flex
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/ChangeLog,v 1.112 2014/01/18 03:14:16 vapier Exp $
+
+ 18 Jan 2014; Mike Frysinger <vapier@gentoo.org> flex-2.5.37.ebuild:
+ Add arm64 love.
+
+ 27 Apr 2013; Mike Frysinger <vapier@gentoo.org> flex-2.5.37.ebuild:
+ Respect $AR setting #444086 by Denis M..
+
+ 19 Feb 2013; Zac Medico <zmedico@gentoo.org> flex-2.5.37.ebuild:
+ Fix for prefix and add ~arm-linux + ~x86-linux keywords.
+
+ 01 Jan 2013; Raúl Porcel <armin76@gentoo.org> flex-2.5.37.ebuild:
+ m68k/s390/sh stable wrt #447964
+
+ 01 Jan 2013; Agostino Sarubbo <ago@gentoo.org> flex-2.5.37.ebuild:
+ Stable for arm, wrt bug #447964
+
+ 30 Dec 2012; Agostino Sarubbo <ago@gentoo.org> flex-2.5.37.ebuild:
+ Stable for alpha, wrt bug #447964
+
+ 30 Dec 2012; Agostino Sarubbo <ago@gentoo.org> flex-2.5.37.ebuild:
+ Stable for sparc, wrt bug #447964
+
+ 29 Dec 2012; Jeroen Roovers <jer@gentoo.org> flex-2.5.37.ebuild:
+ Stable for HPPA (bug #447964).
+
+ 25 Dec 2012; Agostino Sarubbo <ago@gentoo.org> flex-2.5.37.ebuild:
+ Stable for ia64, wrt bug #447964
+
+ 23 Dec 2012; Jeff Horelick <jdhore@gentoo.org> flex-2.5.37.ebuild:
+ marked x86 per bug 447964
+
+ 23 Dec 2012; Agostino Sarubbo <ago@gentoo.org> flex-2.5.37.ebuild:
+ Stable for ppc64, wrt bug #447964
+
+ 22 Dec 2012; Agostino Sarubbo <ago@gentoo.org> flex-2.5.37.ebuild:
+ Stable for ppc, wrt bug #447964
+
+ 22 Dec 2012; Agostino Sarubbo <ago@gentoo.org> flex-2.5.37.ebuild:
+ Stable for amd64, wrt bug #447964
+
+ 11 Aug 2012; Mike Frysinger <vapier@gentoo.org>
+ +files/flex-2.5.37-tests.patch, flex-2.5.37.ebuild:
+ Add fix from upstream for running tests w/bison-2.6 #429954 by Ryan Hill.
+
+*flex-2.5.37 (04 Aug 2012)
+
+ 04 Aug 2012; Mike Frysinger <vapier@gentoo.org>
+ +files/flex-2.5.37-proto.patch, +flex-2.5.37.ebuild:
+ Version bump #429774 by Samuli Suominen.
+
+ 26 Apr 2012; Alexis Ballier <aballier@gentoo.org> flex-2.5.35_p10.ebuild:
+ keyword ~amd64-fbsd
+
+ 31 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> flex-2.5.35_p10.ebuild:
+ ppc64 stable wrt #384221
+
+ 27 Nov 2011; Mike Frysinger <vapier@gentoo.org> flex-2.5.35_p10.ebuild:
+ Add comment about needing bison and not general yacc.
+
+ 20 Oct 2011; Brent Baude <ranger@gentoo.org> flex-2.5.35_p10.ebuild:
+ Marking flex-2.5.35_p10 ppc for bug 384221
+
+ 12 Oct 2011; Raúl Porcel <armin76@gentoo.org> flex-2.5.35_p10.ebuild:
+ alpha/ia64/m68k/s390/sh/sparc stable wrt #384221
+
+ 09 Oct 2011; Jeroen Roovers <jer@gentoo.org> flex-2.5.35_p10.ebuild:
+ Stable for HPPA (bug #384221).
+
+ 08 Oct 2011; Markus Meier <maekke@gentoo.org> flex-2.5.35_p10.ebuild:
+ arm stable, bug #384221
+
+ 01 Oct 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> flex-2.5.35_p10.ebuild:
+ x86 stable wrt bug #384221
+
+ 24 Sep 2011; Tony Vroon <chainsaw@gentoo.org> flex-2.5.35_p10.ebuild:
+ Marked stable on AMD64 based on arch testing by Blain "doc235" Anderson &
+ Agostino "ago" Sarubbo in bug #384221.
+
+ 23 Sep 2011; Mike Frysinger <vapier@gentoo.org> flex-2.5.35_p10.ebuild:
+ Upgrade to EAPI 3 for prefix users #353066 by Jeremy Olexa.
+
+ 06 Sep 2011; Matt Turner <mattst88@gentoo.org> flex-2.5.35.ebuild,
+ flex-2.5.35_p10.ebuild:
+ Add test? ( sys-devel/bison ) to DEPEND (plain dev-util/yacc doesn't work),
+ bug 381273.
+
+ 17 Aug 2011; Matt Turner <mattst88@gentoo.org> flex-2.5.35.ebuild,
+ flex-2.5.35_p10.ebuild:
+ Add m4 to RDEPEND as well, bug 379355.
+
+ 31 Jul 2011; Matt Turner <mattst88@gentoo.org> flex-2.5.35.ebuild,
+ flex-2.5.35_p10.ebuild:
+ Add missing sys-devel/m4 dependency, bug 376119.
+
+*flex-2.5.35_p10 (16 Nov 2010)
+
+ 16 Nov 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +flex-2.5.35_p10.ebuild, +files/flex-2.5.35-saneautotools.patch:
+ Add a flex version with sanitised autotools that can be cross-compiled
+ without further workarounds; the new version also uses the latest Debian
+ patch (and makes it easier to use it). Closes bug #345785.
+
+ 08 Jun 2010; Samuli Suominen <ssuominen@gentoo.org> flex-2.5.35.ebuild:
+ Fix DESCRIPTION wrt #323237 by Jaak Ristioja.
+
+ 29 May 2009; Mike Frysinger <vapier@gentoo.org>
+ -files/flex-2.5.4-glibc22.patch, -flex-2.5.4a-r6.ebuild,
+ -files/flex-2.5.4a-gcc3.patch, -files/flex-2.5.4a-gcc31.patch,
+ -files/flex-2.5.4a-skel.patch, -files/flex-configure-LANG.patch:
+ Punt old package vuln to GLSA 200603-07 #271673.
+
+ 26 Mar 2009; Ryan Hill <dirtyepic@gentoo.org>
+ +files/flex-2.5.35-gcc44.patch, flex-2.5.35.ebuild:
+ Include cstdio for GCC 4.4.
+
+ 21 Mar 2009; Mike Frysinger <vapier@gentoo.org> flex-2.5.35.ebuild:
+ Fix tests with --as-needed #262989 by Nick Fortino.
+
+ 09 Feb 2009; Markus Meier <maekke@gentoo.org> flex-2.5.35.ebuild:
+ amd64 stable, bug #244417
+
+ 28 Oct 2008; Raúl Porcel <armin76@gentoo.org> flex-2.5.35.ebuild:
+ alpha/ia64 stable #244417
+
+ 28 Oct 2008; Brent Baude <ranger@gentoo.org> flex-2.5.35.ebuild:
+ stable ppc64, bug 244417
+
+ 27 Oct 2008; Ferris McCormick <fmccor@gentoo.org> flex-2.5.35.ebuild:
+ Sparc stable, Bug #244417.
+
+ 26 Oct 2008; Jeroen Roovers <jer@gentoo.org> flex-2.5.35.ebuild:
+ Stable for HPPA (bug #244417).
+
+ 26 Oct 2008; nixnut <nixnut@gentoo.org> flex-2.5.35.ebuild:
+ Stable on ppc wrt bug 244417
+
+ 26 Oct 2008; Torsten Veller <tove@gentoo.org> flex-2.5.35.ebuild:
+ Stable on x86 (#244417)
+
+*flex-2.5.35 (26 Feb 2008)
+
+ 26 Feb 2008; Mike Frysinger <vapier@gentoo.org> +flex-2.5.35.ebuild:
+ Version bump.
+
+*flex-2.5.34 (13 Dec 2007)
+
+ 13 Dec 2007; Mike Frysinger <vapier@gentoo.org>
+ +files/flex-2.5.34-isatty.patch, +flex-2.5.34.ebuild:
+ Version bump.
+
+ 16 Oct 2007; Christoph Mende <angelos@gentoo.org> flex-2.5.33-r3.ebuild:
+ Stable on amd64 wrt bug #195255
+
+ 12 Oct 2007; Lars Weiler <pylon@gentoo.org> flex-2.5.33-r3.ebuild:
+ stable ppc, bug #195255
+
+ 11 Oct 2007; Tom Gall <tgall@gentoo.org> flex-2.5.33-r3.ebuild:
+ stable on ppc64, bug #195255
+
+ 10 Oct 2007; Raúl Porcel <armin76@gentoo.org> flex-2.5.33-r3.ebuild:
+ alpha/ia64 stable wrt #195255
+
+ 09 Oct 2007; Dawid Węgliński <cla@gentoo.org> flex-2.5.33-r3.ebuild:
+ Stable on x86
+
+ 09 Oct 2007; Jeroen Roovers <jer@gentoo.org> flex-2.5.33-r3.ebuild:
+ Stable for SPARC (bug #195255).
+
+ 09 Oct 2007; Jeroen Roovers <jer@gentoo.org> flex-2.5.33-r3.ebuild:
+ Stable for HPPA (bug #195255).
+
+ 03 Aug 2007; Mike Frysinger <vapier@gentoo.org> flex-2.5.33-r3.ebuild:
+ Make sure we dont try to pointlessly regen manpage #187505 by Benedikt Morbach.
+
+*flex-2.5.33-r3 (30 Jul 2007)
+
+ 30 Jul 2007; Mike Frysinger <vapier@gentoo.org>
+ +files/flex-2.5.33-setlocale.patch, +flex-2.5.33-r3.ebuild:
+ Add fix from upstream for locale setting #186092 by Evgeniy Dushistov.
+
+ 27 Jun 2007; Markus Rothe <corsair@gentoo.org> flex-2.5.33-r2.ebuild:
+ Stable on ppc64; bug #183256
+
+ 27 Jun 2007; Jeroen Roovers <jer@gentoo.org> flex-2.5.33-r2.ebuild:
+ Stable for HPPA (bug #183256).
+
+ 26 Jun 2007; Lars Weiler <pylon@gentoo.org> flex-2.5.33-r2.ebuild:
+ Stable on ppc; bug #183256.
+
+ 26 Jun 2007; Raúl Porcel <armin76@gentoo.org> flex-2.5.33-r2.ebuild:
+ alpha stable wrt #183256
+
+ 11 May 2007; Joshua Kinard <kumba@gentoo.org> flex-2.5.33-r2.ebuild:
+ Stable on mips.
+
+ 24 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org> flex-2.5.33-r2.ebuild:
+ Stable on sparc
+
+ 23 Apr 2007; Raúl Porcel <armin76@gentoo.org> flex-2.5.33-r2.ebuild:
+ ia64 + x86 stable
+
+ 06 Feb 2007; Simon Stelling <blubb@gentoo.org> flex-2.5.33-r2.ebuild:
+ stable on amd64
+
+*flex-2.5.33-r2 (06 Feb 2007)
+
+ 06 Feb 2007; Simon Stelling <blubb@gentoo.org>
+ +files/flex-2.5.33-pic.patch, +flex-2.5.33-r2.ebuild:
+ compile lib with -fPIC; bug 131460
+
+ 17 Oct 2006; Roy Marples <uberlord@gentoo.org> flex-2.5.33-r1.ebuild:
+ Added ~sparc-fbsd keyword.
+
+ 30 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> flex-2.5.33-r1.ebuild:
+ Add ~x86-fbsd keyword.
+
+ 27 Feb 2006; Gustavo Zacarias <gustavoz@gentoo.org> flex-2.5.33-r1.ebuild:
+ Stable on sparc wrt #122940
+
+*flex-2.5.33-r1 (27 Feb 2006)
+
+ 27 Feb 2006; Mike Frysinger <vapier@gentoo.org> +flex-2.5.33-r1.ebuild:
+ Fix build failure with wine #124084 by Peter Fox.
+
+ 26 Feb 2006; Tobias Scherbaum <dertobi123@gentoo.org> flex-2.5.33.ebuild:
+ ppc stable
+
+ 24 Feb 2006; Mark Loeser <halcy0n@gentoo.org> flex-2.5.33.ebuild:
+ Stable on x86
+
+ 24 Feb 2006; Diego Pettenò <flameeyes@gentoo.org> flex-2.5.31-r2.ebuild,
+ flex-2.5.33.ebuild:
+ Mark stable 2.5.33 (unmark 2.5.31-r2, sorry for the mistake).
+
+ 24 Feb 2006; Diego Pettenò <flameeyes@gentoo.org> flex-2.5.31-r2.ebuild:
+ Stable on amd64.
+
+ 24 Feb 2006; Stephen Bennett <spb@gentoo.org> flex-2.5.33.ebuild:
+ Alpha stable
+
+ 24 Feb 2006; Markus Rothe <corsair@gentoo.org> flex-2.5.33.ebuild:
+ Stable on ppc64
+
+*flex-2.5.33 (24 Feb 2006)
+
+ 24 Feb 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/flex-2.5.33-isatty.patch, +flex-2.5.33.ebuild:
+ Version bump #122940.
+
+ 20 Feb 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/flex-2.5.31-gnu-m4.patch, flex-2.5.31-r2.ebuild:
+ Fix by Diego Pettenò to make sure we use GNU m4 #123471.
+
+*flex-2.5.31-r2 (09 Feb 2006)
+
+ 09 Feb 2006; Mike Frysinger <vapier@gentoo.org>
+ files/flex-2.5.31-isatty.patch, +flex-2.5.31-r2.ebuild:
+ Update isatty patch to better match the unistd.h prototype #122042.
+
+ 08 Feb 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/flex-2.5.31-check-for-locale-header.patch, flex-2.5.31-r1.ebuild:
+ Fix locale.h include bug #121920 by Chris Smith.
+
+ 07 Feb 2006; Fabian Groffen <grobian@gentoo.org> flex-2.5.4a-r6.ebuild:
+ Doin' it for vapier, ppc-macos stable (bug #121487)
+
+*flex-2.5.31-r1 (06 Feb 2006)
+
+ 06 Feb 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/flex-2.5.31-isatty.patch, +flex-2.5.31-r1.ebuild:
+ Fix building C++ apps like doxygen #119598 by Michael Cramer.
+
+ 04 Feb 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/flex-configure-LANG.patch, flex-2.5.4a-r6.ebuild:
+ Fix building in funky locales #121408 by J.
+
+ 16 Sep 2005; Aron Griffis <agriffis@gentoo.org> flex-2.5.4a-r6.ebuild:
+ Mark 2.5.4a-r6 stable on alpha
+
+ 03 Sep 2005; Markus Rothe <corsair@gentoo.org> flex-2.5.4a-r6.ebuild:
+ Stable on ppc64
+
+ 18 Aug 2005; Michael Hanselmann <hansmi@gentoo.org> flex-2.5.4a-r6.ebuild:
+ Stable on ppc.
+
+ 16 Aug 2005; Gustavo Zacarias <gustavoz@gentoo.org> flex-2.5.4a-r6.ebuild:
+ Stable on sparc
+
+ 11 Aug 2005; Mike Frysinger <vapier@gentoo.org>
+ +files/flex-2.5.31-include.patch, flex-2.5.31.ebuild:
+ Fix cross-compile support.
+
+*flex-2.5.31 (09 Jul 2005)
+
+ 09 Jul 2005; Mike Frysinger <vapier@gentoo.org>
+ -files/flex-2.5.31-yytext_ptr.patch, flex-2.5.4a-r6.ebuild,
+ +flex-2.5.31.ebuild, -flex-2.5.31-r1.ebuild:
+ Add flex-2.5.31 back in with Debian patchset #97921 by Martin Mokrejs.
+
+*flex-2.5.4a-r6 (20 Jan 2005)
+
+ 20 Jan 2005; Mike Frysinger <vapier@gentoo.org> flex-2.5.4a-r5.ebuild,
+ +flex-2.5.4a-r6.ebuild:
+ Punt eradicators stuff from our stable ebuild and make a new version with
+ proper autoconf updates.
+
+ 20 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org>
+ flex-2.5.4a-r5.ebuild:
+ Install to the proper libdir.
+
+ 09 Nov 2004; <robmoss@gentoo.org> flex-2.5.4a-r5.ebuild:
+ Fixing a very silly typo. I meant "bigcheck", not "bigtest". Sorry. Fixes
+ bug #63697.
+
+ 16 Sep 2004; <rmoss@gentoo.org> flex-2.5.4a-r5.ebuild:
+ flex-2.5.4a was using a broken, irritatingly short version of the testsuite.
+ Adding "make bigcheck" in the previously nonexistent src_test function fixes
+ this.
+
+ 27 Jul 2004; Alexander Gabert <pappy@gentoo.org> flex-2.5.4a-r5.ebuild:
+ flex breaks when MAKEOPTS is set aggressively
+
+ 19 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org> flex-2.5.4a-r5.ebuild:
+ take out the emake || make bit. Works for me with -j and no verified
+ bug reports exist; tidy
+
+
+*flex-2.5.4a-r5 (13 Oct 2002)
+
+ 13 Oct 2002; Martin Schlemmer <azarah@gentoo.org> :
+ Add various Redhat patches to make it more gcc3 friendly. Fix
+ form in a few places.
+
+*flex-2.5.4a-r4 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/sys-devel/flex/Manifest b/sys-devel/flex/Manifest
new file mode 100644
index 0000000..607f717
--- /dev/null
+++ b/sys-devel/flex/Manifest
@@ -0,0 +1,10 @@
+AUX flex-2.5.33-pic.patch 531 SHA256 c37bc0a3da23cd523a115971dfdda08b524107e4a67ef507887b0c4eb9fd565e SHA512 0921dcec0208c861ab74fc497c139c0253c8014b71544388c13ed24a8e297ac093de593768c69904535d654110c45cd83ffa2d8d821eb13fb08ed94bf7077e11 WHIRLPOOL d6484c20e394ce1c403afdbfda2382115435879c5f90b81b0ffc496567138c317af87f01367eed85a55a3ec6e5b9daab2074e8ad9b6f7f716602539ac4346678
+AUX flex-2.5.34-isatty.patch 1221 SHA256 7b3e8e51dfb91de195eb750f610516cbc9a9b842334a79ace6a6acef45b457db SHA512 efcc73d6f2f07555eb8de062d87a64f462e2c42c401cbb8742b404fb305c248925af9d29c12633d7352cd33ebed899040f89418dde0e021a1d5b0da94bfdb631 WHIRLPOOL a01a174dffc60a58ff840e198daa181156def72244d8a5c2cbfb748496a02d70398fa73ef9c15b86cf7c19d57054507381ef89ed1c20427a46dfc81d8f90b778
+AUX flex-2.5.35-gcc44.patch 463 SHA256 7ca26dcd1329bdf2ba5c4095db913ba4af5a92178f1a1d603fb6d01fbef244ee SHA512 68c4ba0b4a591446dec4072ade6e3493d011e857d086f999c0108d9d7b5ed2a9ec87111912f3425bc5222d3637fd05a5a5fbd7172317a09ed04dad40fa8059e1 WHIRLPOOL 0a4ef36056d5add49fb1fd0e9f36dbeb0f1d7cd00e285647770c95de793f6823582a32c525253591460d954625c50e1343d2f0c2e0d5e17a62d8a7568f25fcc7
+AUX flex-2.5.35-saneautotools.patch 2929 SHA256 e8bb36d69f3f73704c44ae357f6306380411b7f73614e675dacd177d4e5ddd21 SHA512 f10929ba77aef0e75199afee52e39758a34538f8e767b3d122e40515ecf6cb4fdf69cceff44bae6778e2cd8f741d6fc3f987d5aa981f583deef510df0293f2da WHIRLPOOL d2555cebee0dd4498a93f0deebcf73b11ce39ba664f1b1b7c9205741f628df00c03b36a8d244d5118c6b5a9dd3b6995aefe06560f1f09f11baa07e677f7b3fdf
+AUX flex-2.5.37-proto.patch 833 SHA256 97439c94caccf96d8cc03bd0ba0b5f522ec18ee100ce6287c9860ee71b46a4d4 SHA512 53112d7c667498769c2495df1d6a824a216c51b97fa214d9c1bfcb7a36bd05edd2d35cc5a03fab601bd0b37ebb5570a3d18f76242f1d52b69140bd935cbe2568 WHIRLPOOL 7dabcfc3427fb3b2126c96865e078c6df936822a517eb489330b2efb05178b4149d1548596b4667c77fcf09d205f5bbc92ae4d24138fe9c82562eeca5cc994c0
+AUX flex-2.5.37-tests.patch 3082 SHA256 49d432571082dab89c73f49cdc88945635d487339ca23502bc66abdcd975429a SHA512 741ba4a76bc4247b6cc9969854165944e2b404ab383229adf769b854606499078687e98a311e458e6619741feaaccdd5fd5ac25e405679f57e63b104482eed50 WHIRLPOOL fde13e5c76fd9670e95b0132d3aed452ee97b4ca746b973b256bc8d716a87dda43b10a8f49cc5c2208d7c5db47eed11e34c956695adf5d2a52983fcbf266bb3e
+DIST flex-2.5.37.tar.bz2 1303313 SHA256 17aa7b4ebf19a13bc2dff4115b416365c95f090061539a932a68092349ac052a SHA512 1f34285953a7f058e6a2dddc305fc82cfcaaa451d6d7777da17bf9cccbe4a08e480c8c28951fa5d2920e7c7adc40ccd0e51191b363c9a3c4137db5ded1cbbc2a WHIRLPOOL ee5a4dde9b373c57248df261a53ea951e12ccb3e6f2e6344c56c2d8393511389560b4843660edf2a0929e2ed6fc46ab8d832e36a8ee5fe4317ce85ccea14d6ca
+EBUILD flex-2.5.37-r1.ebuild 1377 SHA256 68356a33b7f6fc0c579fc149004464350c2b942ea07d1896e1aebc510954fceb SHA512 f98414f262a511640f027dd912bbf4dcd8fc004312edfe690a77d229b9852c34ee891aa99aa09cebafb598233c51182b49b4f6b04f5662174418a1806b5f709e WHIRLPOOL bf096f358b16b14ab30d51c117215f971dd753df0896bfb7471c7c937981517e2cfc3f3209e290e8c02b1c5e916a8433660377f06c450cbe9d057a06873da9d3
+MISC ChangeLog 12370 SHA256 d805cbebbf2bc39071131b16dbfba38f95a8c9122ef263b7e1adf6600de9e9e5 SHA512 08c3cc82d372e2f13375996d48d989c6229c5971a9d4a83defc5607c158c433c0c1a3a817207d8123fc2b8c539fde1b42aedc0b8245ae25ded45ca40d25e0f0e WHIRLPOOL 898141378efb4899ec93b86014b50b1fcb3dd1d13b82ec11884960d35ce89ebc879bd6b312098a1d7176cdc887efd267664500df88ea287a150b59ea22f95833
+MISC metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 SHA512 8eb0d5153d388f6ea069c64b93882244816a0a09aecc0d73cb872121ce0eb24c5ccafa96aad0b620b2300f319e1af101fa7fa6c5d0d561719d49bb07da0a2eca WHIRLPOOL 11a1441bddb7a6c69653c663902b7da5767ae6ad515ac2aabfc42fe37927a1ccc21472deeee454009ff720201a41c3e4a912df42661a0a87150fb46126da2d52
diff --git a/sys-devel/flex/files/flex-2.5.33-pic.patch b/sys-devel/flex/files/flex-2.5.33-pic.patch
new file mode 100644
index 0000000..88ac8b3
--- /dev/null
+++ b/sys-devel/flex/files/flex-2.5.33-pic.patch
@@ -0,0 +1,12 @@
+--- Makefile.in 2007-02-06 12:27:32.000000000 +0100
++++ Makefile.in.new 2007-02-06 12:29:50.000000000 +0100
+@@ -993,7 +993,9 @@
+ ecs.o: ecs.c flexdef.h flexint.h
+ gen.o: gen.c flexdef.h flexint.h tables.h tables_shared.h
+ libmain.o: libmain.c
++ $(COMPILE) -fPIC -DPIC -o libmain.o -c libmain.c
+ libyywrap.o: libyywrap.c
++ $(COMPILE) -fPIC -DPIC -o libyywrap.o -c libyywrap.c
+ main.o: main.c flexdef.h flexint.h version.h options.h scanopt.h \
+ tables.h tables_shared.h
+ misc.o: misc.c flexdef.h flexint.h tables.h tables_shared.h
diff --git a/sys-devel/flex/files/flex-2.5.34-isatty.patch b/sys-devel/flex/files/flex-2.5.34-isatty.patch
new file mode 100644
index 0000000..b397433
--- /dev/null
+++ b/sys-devel/flex/files/flex-2.5.34-isatty.patch
@@ -0,0 +1,53 @@
+Declare the isatty prototype all the time ... otherwise packages like
+doxygen and ttmkfdir fail to build.
+
+http://bugs.gentoo.org/119598
+
+--- flex/scan.c
++++ flex/scan.c
+@@ -4179,9 +4179,19 @@
+ yyfree((void *) b );
+ }
+
++#ifndef _UNISTD_H /* assume unistd.h has isatty() for us */
+-#ifndef __cplusplus
++#ifdef __cplusplus
++extern "C" {
++#endif
++#ifdef __THROW /* this is a gnuism */
++extern int isatty (int ) __THROW;
++#else
+ extern int isatty (int );
++#endif
+-#endif /* __cplusplus */
++#ifdef __cplusplus
++}
++#endif
++#endif
+
+ /* Initializes or reinitializes a buffer.
+ * This function is sometimes called more than once on the same buffer,
+--- flex/skel.c
++++ flex/skel.c
+@@ -2183,9 +2183,19 @@
+ "[[",
+ " m4_ifdef( [[M4_YY_NEVER_INTERACTIVE]],,",
+ " [[",
++ "#ifndef _UNISTD_H /* assume unistd.h has isatty() for us */",
+- "#ifndef __cplusplus",
++ "#ifdef __cplusplus",
++ "extern \"C\" {",
++ "#endif",
++ "#ifdef __THROW /* this is a gnuism */",
++ "extern int isatty M4_YY_PARAMS( int ) __THROW;",
++ "#else",
+ "extern int isatty M4_YY_PARAMS( int );",
++ "#endif",
+- "#endif /* __cplusplus */",
++ "#ifdef __cplusplus",
++ "}",
++ "#endif",
++ "#endif",
+ " ]])",
+ "]])",
+ "%endif",
diff --git a/sys-devel/flex/files/flex-2.5.35-gcc44.patch b/sys-devel/flex/files/flex-2.5.35-gcc44.patch
new file mode 100644
index 0000000..69045be
--- /dev/null
+++ b/sys-devel/flex/files/flex-2.5.35-gcc44.patch
@@ -0,0 +1,13 @@
+https://sourceforge.net/tracker/?func=detail&aid=2178663&group_id=97492&atid=618177
+
+diff -Naurp flex-2.5.35-orig/skel.c flex-2.5.35/skel.c
+--- flex-2.5.35-orig/skel.c 2009-03-25 22:21:16.000000000 -0600
++++ flex-2.5.35/skel.c 2009-03-25 22:22:22.000000000 -0600
+@@ -286,6 +286,7 @@ const char *skel[] = {
+ "#include <errno.h>",
+ "#include <cstdlib>",
+ "#include <cstring>",
++ "#include <cstdio>",
+ "/* end standard C++ headers. */",
+ "%endif",
+ "",
diff --git a/sys-devel/flex/files/flex-2.5.35-saneautotools.patch b/sys-devel/flex/files/flex-2.5.35-saneautotools.patch
new file mode 100644
index 0000000..fd8487a
--- /dev/null
+++ b/sys-devel/flex/files/flex-2.5.35-saneautotools.patch
@@ -0,0 +1,77 @@
+Index: flex-2.5.35/configure.in
+===================================================================
+--- flex-2.5.35.orig/configure.in
++++ flex-2.5.35/configure.in
+@@ -39,6 +39,7 @@ AM_GNU_GETTEXT_VERSION(0.12)
+ AC_PROG_YACC
+ AM_PROG_LEX
+ AC_PROG_CC
++AM_PROG_CC_C_O
+ AC_PROG_CXX
+ AC_PROG_LN_S
+ AC_PROG_RANLIB
+@@ -103,13 +104,6 @@ AC_HEADER_STDBOOL
+ AC_C_CONST
+ AC_TYPE_SIZE_T
+
+-# Checks for library functions.
+-
+-AC_FUNC_FORK
+-AC_FUNC_MALLOC
+-AC_FUNC_REALLOC
+-AC_CHECK_FUNCS([dup2 isascii memset pow regcomp setlocale strchr strtol])
+-
+ AC_CONFIG_FILES(
+ Makefile
+ doc/Makefile
+Index: flex-2.5.35/Makefile.am
+===================================================================
+--- flex-2.5.35.orig/Makefile.am
++++ flex-2.5.35/Makefile.am
+@@ -127,33 +127,6 @@ LIBS = @LIBINTL@ @LIBS@
+ skel.c: flex.skl mkskel.sh flexint.h tables_shared.h
+ sed 's/m4_/m4postproc_/g; s/m4preproc_/m4_/g' $(srcdir)/flex.skl | $(m4) -P -DFLEX_MAJOR_VERSION=`echo $(VERSION)|cut -f 1 -d .` -DFLEX_MINOR_VERSION=`echo $(VERSION)|cut -f 2 -d .` -DFLEX_SUBMINOR_VERSION=`echo $(VERSION)|cut -f 3 -d .` | sed 's/m4postproc_/m4_/g' | $(SHELL) $(srcdir)/mkskel.sh >skel.c
+
+-# Explicitly describe dependencies.
+-# You can recreate this with `gcc -I. -MM *.c'
+-buf.o: buf.c flexdef.h flexint.h
+-ccl.o: ccl.c flexdef.h flexint.h
+-dfa.o: dfa.c flexdef.h flexint.h tables.h tables_shared.h
+-ecs.o: ecs.c flexdef.h flexint.h
+-scanflags.o: scanflags.c flexdef.h flexint.h
+-gen.o: gen.c flexdef.h flexint.h tables.h tables_shared.h
+-libmain.o: libmain.c
+-libyywrap.o: libyywrap.c
+-main.o: main.c flexdef.h flexint.h version.h options.h scanopt.h \
+- tables.h tables_shared.h
+-misc.o: misc.c flexdef.h flexint.h tables.h tables_shared.h
+-nfa.o: nfa.c flexdef.h flexint.h
+-options.o: options.c options.h scanopt.h flexdef.h flexint.h
+-parse.o: parse.c flexdef.h flexint.h tables.h tables_shared.h
+-scan.o: scan.c flexdef.h flexint.h parse.h
+-scanopt.o: scanopt.c flexdef.h flexint.h scanopt.h
+-skel.o: skel.c flexdef.h flexint.h
+-sym.o: sym.c flexdef.h flexint.h
+-tables.o: tables.c flexdef.h flexint.h tables.h tables_shared.h
+-tables_shared.o: tables_shared.c flexdef.h flexint.h tables.h \
+- tables_shared.h
+-tblcmp.o: tblcmp.c flexdef.h flexint.h
+-yylex.o: yylex.c flexdef.h flexint.h parse.h
+-filter.o: filter.c flexdef.h flexint.h
+-
+ # Create the ChangeLog, but only if we're inside a cvs working directory
+
+ ChangeLog: $(srcdir)/tools/cvsauthors $(srcdir)/tools/cvs2cl.pl
+Index: flex-2.5.35/tests/test-pthread/Makefile.am
+===================================================================
+--- flex-2.5.35.orig/tests/test-pthread/Makefile.am
++++ flex-2.5.35/tests/test-pthread/Makefile.am
+@@ -27,7 +27,7 @@ CLEANFILES = scanner.c scanner.h parser.
+ OBJS = scanner.o # parser.o
+
+ AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir)
+-LDFLAGS = -lpthread
++LOADLIBES = -lpthread
+ #LFLAGS = --header="scanner.h"
+ #YFLAGS = --defines --output=parser.c
+
diff --git a/sys-devel/flex/files/flex-2.5.37-proto.patch b/sys-devel/flex/files/flex-2.5.37-proto.patch
new file mode 100644
index 0000000..5d3c30f
--- /dev/null
+++ b/sys-devel/flex/files/flex-2.5.37-proto.patch
@@ -0,0 +1,27 @@
+From 0f9eb0b8455f843daebf0f3dababeee7f3cde48b Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Sat, 4 Aug 2012 15:46:38 -0400
+Subject: [PATCH] add prototype for lerrsf_fatal
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ flexdef.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/flexdef.h b/flexdef.h
+index 0e81410..046dd9a 100644
+--- a/flexdef.h
++++ b/flexdef.h
+@@ -908,6 +908,9 @@ extern void lerrif PROTO ((const char *, int));
+ /* Report an error message formatted with one string argument. */
+ extern void lerrsf PROTO ((const char *, const char *));
+
++/* Like lerrsf, but also exit after displaying message. */
++extern void lerrsf_fatal PROTO ((const char *, const char *));
++
+ /* Spit out a "#line" statement. */
+ extern void line_directive_out PROTO ((FILE *, int));
+
+--
+1.7.9.7
+
diff --git a/sys-devel/flex/files/flex-2.5.37-tests.patch b/sys-devel/flex/files/flex-2.5.37-tests.patch
new file mode 100644
index 0000000..56d441a
--- /dev/null
+++ b/sys-devel/flex/files/flex-2.5.37-tests.patch
@@ -0,0 +1,113 @@
+From 095b0bf0a730d46d301c0e2fb2e7af40caeb2c9b Mon Sep 17 00:00:00 2001
+From: Elias Pipping <pipping@users.sourceforge.net>
+Date: Mon, 6 Aug 2012 15:13:23 -0400
+Subject: [PATCH] Fix two tests to pass under bison 2.6
+
+Given that bison is moving forward with the %parse-param instead of
+YYPARSE_PARAM syntax, it makes sense to switch over to using the new style
+declaration. In particular, this means that flex scanners that use bison
+features will now require bison 2.6 or higher.
+
+Signed-off-by: Will Estes <westes575@gmail.com>
+---
+ tests/test-bison-yylloc/main.c | 2 --
+ tests/test-bison-yylloc/parser.y | 6 +++---
+ tests/test-bison-yylval/main.c | 2 --
+ tests/test-bison-yylval/parser.y | 6 ++----
+ 4 files changed, 5 insertions(+), 11 deletions(-)
+
+diff --git a/tests/test-bison-yylloc/main.c b/tests/test-bison-yylloc/main.c
+index 082c88c..24568a9 100644
+--- a/tests/test-bison-yylloc/main.c
++++ b/tests/test-bison-yylloc/main.c
+@@ -24,8 +24,6 @@
+ #include "parser.h"
+ #include "scanner.h"
+
+-extern int testparse(yyscan_t);
+-
+ int main ( int argc, char** argv )
+ {
+ yyscan_t scanner;
+diff --git a/tests/test-bison-yylloc/parser.y b/tests/test-bison-yylloc/parser.y
+index aaee976..e8f4e56 100644
+--- a/tests/test-bison-yylloc/parser.y
++++ b/tests/test-bison-yylloc/parser.y
+@@ -21,6 +21,8 @@
+ * PURPOSE.
+ */
+
++%parse-param { void* scanner }
++
+ /*
+ How to compile:
+ bison --defines --output-file="parser.c" --name-prefix="test" parser.y
+@@ -32,10 +34,8 @@
+ #include "config.h"
+
+ #define YYERROR_VERBOSE 1
+-#define YYPARSE_PARAM scanner
+ #define YYLEX_PARAM scanner
+
+-int yyerror(char* msg);
+ extern int testget_lineno(void*);
+
+
+@@ -89,7 +89,7 @@ line:
+
+ %%
+
+-int yyerror(char* msg) {
++int yyerror(void* scanner, char* msg) {
+ fprintf(stderr,"%s\n",msg);
+ return 0;
+ }
+diff --git a/tests/test-bison-yylval/main.c b/tests/test-bison-yylval/main.c
+index 165e672..30c4314 100644
+--- a/tests/test-bison-yylval/main.c
++++ b/tests/test-bison-yylval/main.c
+@@ -24,8 +24,6 @@
+ #include "parser.h"
+ #include "scanner.h"
+
+-extern int testparse(yyscan_t);
+-
+ int main ( int argc, char** argv )
+ {
+ yyscan_t scanner;
+diff --git a/tests/test-bison-yylval/parser.y b/tests/test-bison-yylval/parser.y
+index 77bac87..0ffdb89 100644
+--- a/tests/test-bison-yylval/parser.y
++++ b/tests/test-bison-yylval/parser.y
+@@ -25,6 +25,7 @@
+ How to compile:
+ bison --defines --output-file="parser.c" --name-prefix="test" parser.y
+ */
++%parse-param { void* scanner }
+ %{
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -32,11 +33,8 @@
+ #include "config.h"
+
+ #define YYERROR_VERBOSE 1
+-#define YYPARSE_PARAM scanner
+ #define YYLEX_PARAM scanner
+
+-int yyerror(char* msg);
+-
+
+ /* A dummy function. A check against seg-faults in yylval->str. */
+ int process_text(char* s) {
+@@ -76,7 +74,7 @@ starttag: LT TAGNAME GT { process_text($2); free($2);} ;
+ endtag: LTSLASH TAGNAME GT { process_text($2);free($2);} ;
+ %%
+
+-int yyerror(char* msg) {
++int yyerror(void* scanner, char* msg) {
+ fprintf(stderr,"%s\n",msg);
+ return 0;
+ }
+--
+1.7.9.7
+
diff --git a/sys-devel/flex/flex-2.5.37-r1.ebuild b/sys-devel/flex/flex-2.5.37-r1.ebuild
new file mode 100644
index 0000000..a8ee623
--- /dev/null
+++ b/sys-devel/flex/flex-2.5.37-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+if [[ ${PV} == *_p* ]] ; then
+ DEB_DIFF=${PN}_${PV/_p/-}
+fi
+MY_P=${P%_p*}
+
+DESCRIPTION="The Fast Lexical Analyzer"
+HOMEPAGE="http://flex.sourceforge.net/"
+SRC_URI="mirror://sourceforge/flex/${MY_P}.tar.bz2
+ ${DEB_DIFF:+mirror://debian/pool/main/f/flex/${DEB_DIFF}.diff.gz}"
+
+LICENSE="FLEX"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
+IUSE="nls static test"
+
+# We want bison explicitly and not yacc in general #381273
+RDEPEND="sys-devel/m4"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ test? ( sys-devel/bison )"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ [[ -n ${DEB_DIFF} ]] && epatch "${WORKDIR}"/${DEB_DIFF}.diff
+ epatch "${FILESDIR}"/${P}-proto.patch
+ epatch "${FILESDIR}"/${P}-tests.patch #429954
+ sed -i "/^AR =/s:=.*:= $(tc-getAR):" Makefile.in || die #444086
+}
+
+src_configure() {
+ use static && append-ldflags -static
+ econf \
+ $(use_enable nls) \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ rm "${ED}"/usr/share/doc/${PF}/{COPYING,flex.pdf} || die
+ dodoc AUTHORS ChangeLog NEWS ONEWS README* THANKS TODO
+ dosym flex /usr/bin/lex
+}
diff --git a/sys-devel/flex/metadata.xml b/sys-devel/flex/metadata.xml
new file mode 100644
index 0000000..96a2d58
--- /dev/null
+++ b/sys-devel/flex/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>base-system</herd>
+</pkgmetadata>