Merge pull request #89 from marineam/flaky

bump(sys-devel/flex): sync with upstream
This commit is contained in:
Michael Marineau 2014-02-14 14:40:54 -08:00
commit 82a33ae0eb
10 changed files with 687 additions and 5 deletions

View File

@ -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.

View File

@ -1,2 +1,34 @@
DIST flex-2.5.35.tar.bz2 1256501 RMD160 4827f940e227f9d2f454c021f69dd1c7ad3e76f4 SHA1 c507095833aaeef2d6502e12638e54bf7ad2f24a SHA256 0becbd4b2b36b99c67f8c22ab98f7f80c9860aec70f0350a0018f29a88704e7b -----BEGIN PGP SIGNED MESSAGE-----
DIST flex_2.5.35-10.diff.gz 41011 RMD160 513af2ed6609fbe603d4651ab702fdce20acdc46 SHA1 5a06f489682cd4f6cb1d771efda9baeb3f8d3167 SHA256 1d57a2a73ae7b7d4bd95a7c3f5801ab39c0b2b55b5d838782da8d3801cc1a3b9 Hash: SHA256
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.35.tar.bz2 1256501 SHA256 0becbd4b2b36b99c67f8c22ab98f7f80c9860aec70f0350a0018f29a88704e7b SHA512 aa5aebbc7ccaa4697d7f0cfa3ba899dd3b327bc8551ba341c26bece7f9044951d0532e3ebf6ec63760204b4ff805f9f957d064e9a213ef8aac428e565de31343 WHIRLPOOL 5cb46a2cec84b1c6d25e22a1e4a6ac1a5100fcf32a488918f8bfe9236339ff2aac7f2dc35a590417fe1609d89511ab47de4ba4f7db17251b7408ea0f18e6894d
DIST flex-2.5.37.tar.bz2 1303313 SHA256 17aa7b4ebf19a13bc2dff4115b416365c95f090061539a932a68092349ac052a SHA512 1f34285953a7f058e6a2dddc305fc82cfcaaa451d6d7777da17bf9cccbe4a08e480c8c28951fa5d2920e7c7adc40ccd0e51191b363c9a3c4137db5ded1cbbc2a WHIRLPOOL ee5a4dde9b373c57248df261a53ea951e12ccb3e6f2e6344c56c2d8393511389560b4843660edf2a0929e2ed6fc46ab8d832e36a8ee5fe4317ce85ccea14d6ca
DIST flex_2.5.35-10.diff.gz 41011 SHA256 1d57a2a73ae7b7d4bd95a7c3f5801ab39c0b2b55b5d838782da8d3801cc1a3b9 SHA512 ecb64cb5d27da0c82c99958640ee5f09afff4096a93817f68f3333f86a838ab4f21daf959bfc650b89e0d52a827c55265cb4c4a4f9efab050a8f91dd82258820 WHIRLPOOL 4fa27c32d81c766e657645816e4a24e46b126e5eb38ad38fc66a7d3d3e3100b76ec694898dcbcc486687f4ec9d89d517a670f7ca20de22586d2f0b56a7fe50cd
EBUILD flex-2.5.35.ebuild 1296 SHA256 15883b37613fcdd1dd86b7bb7968a371f94345e0e1c94c59ad099191cd75a1b0 SHA512 b2f872b98039cdd7d0d95381e023ef76b41b290f763d30e9babb39d3373ea242912055b7ea1eccf46311512c7bd1e5ab1d39b3f881c0ceb90a936ca4eb9c2f0c WHIRLPOOL b168525aed3efa15c4e93fb8d80bfa8af9ea875fd4a484efa3a9f3d404f5468ecc2eb663f0e6dc73723da25bd9a0e868df2dd2da586da987d4cbc68298d40c27
EBUILD flex-2.5.35_p10.ebuild 1331 SHA256 1746432f631397c5819a6940df6519d690722609c113f49c44a8fc8f687e7061 SHA512 cdfc0c7aa5be6cf40d993a15c24b1b253d7335a9ef535befbc9f42384e9f0f34291ba41930009c13d7937b7adef768211072a41f178ddaba160faf5b3ba6e183 WHIRLPOOL d75ef1540a221a8b24e15bd8b99005a00e74fae3ee9f9ece67d475db52dc881fbb84fd62bedf1a722a82887d96f31cd5daf69827588e34a19fa5cdbaf817d27c
EBUILD flex-2.5.37.ebuild 1473 SHA256 a1c20f9c4b87a921e3d0bbbf0dcfd339a908d3c33ebcbbcbb1cd235adbf65ed3 SHA512 dfffac5047e188e6f11b4bf572ceb6dcbf0ea816d932abbb29b3f2de84f089626644fb35bc260bd689a98fa633ffdd91dd7ec9e5920ced7c63e7c29127ecd5e9 WHIRLPOOL 4392d3b1ea56313422b4db367853a33ba963daa80bc9e1bfcb66d5523497ed15c46a82aa7062f2c63837d74563dfe34bafaf9162f6765a878a0868d980907502
MISC ChangeLog 12370 SHA256 d805cbebbf2bc39071131b16dbfba38f95a8c9122ef263b7e1adf6600de9e9e5 SHA512 08c3cc82d372e2f13375996d48d989c6229c5971a9d4a83defc5607c158c433c0c1a3a817207d8123fc2b8c539fde1b42aedc0b8245ae25ded45ca40d25e0f0e WHIRLPOOL 898141378efb4899ec93b86014b50b1fcb3dd1d13b82ec11884960d35ce89ebc879bd6b312098a1d7176cdc887efd267664500df88ea287a150b59ea22f95833
MISC metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 SHA512 8eb0d5153d388f6ea069c64b93882244816a0a09aecc0d73cb872121ce0eb24c5ccafa96aad0b620b2300f319e1af101fa7fa6c5d0d561719d49bb07da0a2eca WHIRLPOOL 11a1441bddb7a6c69653c663902b7da5767ae6ad515ac2aabfc42fe37927a1ccc21472deeee454009ff720201a41c3e4a912df42661a0a87150fb46126da2d52
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAEBCAAGBQJS2fGPAAoJEPGu1DbS6WIAFhYP/3nOBrJscMKOjffD/gBn6nBu
uJPjhG8XVu9uXtE2W0rd8SmZqGq+nSAwSNU8lei4g+jzg773bmdkuKjjjxbRDxAK
0JMv4Bn1pHeYm/1867MSwYi/FXEGY29v+VohV5I+mNm5sDGXYDQDMIo0w69i+LGP
ef7bxB04Sb/KNX89XYWDvy9oplI+f6jRbQsQGHESBAgzfAXOR9+oHZ0zuZGO9hiK
LRdHCJuQDSM8Gv8no094Ng9ZCXIe2Jh5VWTTEXAp8xHInwOa8Qoaz92qysg9X4qU
Sli6KOWRnb8s7T+MKEio2PLUMYBdhjxZ2LZMtObfuGYmTBG3ky6Ly9j+NYmqxJgc
P9hxVuWR6q6ly08q/3+64hhVwU1wRbKwXUBB30xJxfKLwPRwYN8jaV3lDOMZvn24
y+a7I4TVZWiDeNqHHgDyA95FLq6DCwYJNQc0cDKzhsYdmwKEy0hiWp+FfTN3RV8n
Avs4Iacxu7yWa8yUjXVq6xocfnRl79I8iUtAsvPpDGpdIQdI8/Bt8R3FB5B0oZu9
OIxUZFebO34NQHXJ0v99pME4beJoIAafkxeofXhvAIq//Lg1zB0XsbQFPk0gQKN8
POwJCWJliURb2XFqAu1EoOtdOL9MzTu2ZY5JiIGZnyVX+cl2B5c0aFZeWa8vsAQb
RX2NjsJJ0kQYSK7Czn/y
=csB0
-----END PGP SIGNATURE-----

View File

@ -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

View File

@ -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",

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,43 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/flex-2.5.35.ebuild,v 1.15 2011/09/06 18:59:44 mattst88 Exp $
inherit eutils flag-o-matic
#DEB_VER=36
DESCRIPTION="The Fast Lexical Analyzer"
HOMEPAGE="http://flex.sourceforge.net/"
SRC_URI="mirror://sourceforge/flex/${P}.tar.bz2"
# mirror://debian/pool/main/f/flex/${PN}_${PV}-${DEB_VER}.diff.gz"
LICENSE="FLEX"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="nls static test"
RDEPEND="sys-devel/m4"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
test? ( sys-devel/bison )"
src_unpack() {
unpack ${A}
cd "${S}"
[[ -n ${DEB_VER} ]] && epatch "${WORKDIR}"/${PN}_${PV}-${DEB_VER}.diff
epatch "${FILESDIR}"/${PN}-2.5.34-isatty.patch #119598
epatch "${FILESDIR}"/${PN}-2.5.33-pic.patch
epatch "${FILESDIR}"/${PN}-2.5.35-gcc44.patch
sed -i 's:^LDFLAGS:LOADLIBES:' tests/test-pthread/Makefile.in #262989
}
src_compile() {
use static && append-ldflags -static
econf $(use_enable nls) || die
emake || die
}
src_install() {
emake install DESTDIR="${D}" || die "make install failed"
dodoc AUTHORS ChangeLog NEWS ONEWS README* THANKS TODO
dosym flex /usr/bin/lex
}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/flex-2.5.35_p10.ebuild,v 1.10 2011/10/12 10:43:10 armin76 Exp $ # $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/flex-2.5.35_p10.ebuild,v 1.14 2012/04/26 13:12:45 aballier Exp $
EAPI="3" EAPI="3"
@ -19,9 +19,10 @@ SRC_URI="mirror://sourceforge/flex/${MY_P}.tar.bz2
LICENSE="FLEX" LICENSE="FLEX"
SLOT="0" SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ~ppc ~ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="nls static test" IUSE="nls static test"
# We want bison explicitly and not yacc in general #381273
RDEPEND="sys-devel/m4" RDEPEND="sys-devel/m4"
DEPEND="${RDEPEND} DEPEND="${RDEPEND}
nls? ( sys-devel/gettext ) nls? ( sys-devel/gettext )

View File

@ -0,0 +1,51 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/flex-2.5.37.ebuild,v 1.15 2014/01/18 03:14:16 vapier Exp $
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
}

View File

@ -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>