diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-05-29 13:16:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-05-29 13:16:17 +0000 |
commit | abe2ae1ec11c4ff5b3e62cc79ca5941a8c0290b4 (patch) | |
tree | fc3b5fc4530ca044a85caaed10c942979d28d978 /sys-devel/flex | |
parent | Missing include file with USE=-X (Bug #271463) (diff) | |
download | historical-abe2ae1ec11c4ff5b3e62cc79ca5941a8c0290b4.tar.gz historical-abe2ae1ec11c4ff5b3e62cc79ca5941a8c0290b4.tar.bz2 historical-abe2ae1ec11c4ff5b3e62cc79ca5941a8c0290b4.zip |
old
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'sys-devel/flex')
-rw-r--r-- | sys-devel/flex/ChangeLog | 8 | ||||
-rw-r--r-- | sys-devel/flex/Manifest | 21 | ||||
-rw-r--r-- | sys-devel/flex/files/flex-2.5.31-include.patch | 13 | ||||
-rw-r--r-- | sys-devel/flex/files/flex-2.5.33-isatty.patch | 53 | ||||
-rw-r--r-- | sys-devel/flex/files/flex-2.5.33-setlocale.patch | 14 | ||||
-rw-r--r-- | sys-devel/flex/files/flex-2.5.4-glibc22.patch | 108 | ||||
-rw-r--r-- | sys-devel/flex/files/flex-2.5.4a-gcc3.patch | 11 | ||||
-rw-r--r-- | sys-devel/flex/files/flex-2.5.4a-gcc31.patch | 94 | ||||
-rw-r--r-- | sys-devel/flex/files/flex-2.5.4a-skel.patch | 11 | ||||
-rw-r--r-- | sys-devel/flex/files/flex-configure-LANG.patch | 41 | ||||
-rw-r--r-- | sys-devel/flex/flex-2.5.33-r3.ebuild | 42 | ||||
-rw-r--r-- | sys-devel/flex/flex-2.5.4a-r6.ebuild | 53 |
12 files changed, 11 insertions, 458 deletions
diff --git a/sys-devel/flex/ChangeLog b/sys-devel/flex/ChangeLog index dc57d05f179b..cfd2fefe4e8f 100644 --- a/sys-devel/flex/ChangeLog +++ b/sys-devel/flex/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-devel/flex # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/ChangeLog,v 1.81 2009/03/26 04:27:50 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/ChangeLog,v 1.82 2009/05/29 13:16:17 vapier Exp $ + + 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: diff --git a/sys-devel/flex/Manifest b/sys-devel/flex/Manifest index f2fa5ec640a7..78faaba8d270 100644 --- a/sys-devel/flex/Manifest +++ b/sys-devel/flex/Manifest @@ -1,30 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX flex-2.5.31-include.patch 387 RMD160 450ae53279820d2d8c702be0f471be07892f96f0 SHA1 3f62417bc5eb83f4f7829ff58c2d586467941cb0 SHA256 deb8f99edc8b3eca11515e36db959d27503c5c1fc317a4ead39f40cc0ec61bce -AUX flex-2.5.33-isatty.patch 1232 RMD160 5dd313a47f30002972788135e91a513bc286effd SHA1 e297269dca9763e213441bbc61cb762b30437cd1 SHA256 0ef8fb7b31e851c97282f8d3d02aeb7e90eb4ad7a33645d833d6d7fec2c12a75 AUX flex-2.5.33-pic.patch 531 RMD160 b76f8e0e95350bf2ea44466b1eafe27b2721a693 SHA1 626d9c621f88de4f4aafdc2cc591825543abe2e5 SHA256 c37bc0a3da23cd523a115971dfdda08b524107e4a67ef507887b0c4eb9fd565e -AUX flex-2.5.33-setlocale.patch 330 RMD160 a6795135ed618eef666cc75208f5d4d7176dc66e SHA1 80819d19d5bd2420b4d9fba76c83773c4cc21cf3 SHA256 c5df07c06847cae32927c59dacd77642db2be4b6bb0aced738003e2ce2cc5f6b AUX flex-2.5.34-isatty.patch 1221 RMD160 fe70e4737fbff4f5b1048795e0fcafdc55ab97af SHA1 e994eee87933db613bb0662d825de9ec1468c4ec SHA256 7b3e8e51dfb91de195eb750f610516cbc9a9b842334a79ace6a6acef45b457db AUX flex-2.5.35-gcc44.patch 463 RMD160 1b9e44f249ed033d3d594eba41ddb05b6d37ddef SHA1 dc621f445067c6bc789c415bb9a9308953e79105 SHA256 7ca26dcd1329bdf2ba5c4095db913ba4af5a92178f1a1d603fb6d01fbef244ee -AUX flex-2.5.4-glibc22.patch 2241 RMD160 124f5d395b4be1926420ad9dace170ef1eba24da SHA1 e42a9ae22ca57efc8ecc719cd4ecacb6a7e3ee3f SHA256 787c733eb4e4d4272930a43fbf13b045c6ed2b363a3066e42eed38bc3c5b0941 -AUX flex-2.5.4a-gcc3.patch 277 RMD160 0b3d5036709dc0ad1757f30560d994aae9182980 SHA1 d15b2bfcc0b4b4494db697cd8f8e78d232482205 SHA256 9cd454d441b9bae51d13b92642e44148c27d60e8c44ad8b5c66dcec4bd183911 -AUX flex-2.5.4a-gcc31.patch 3189 RMD160 134e71593084401c5948e299d73c9689f2a0023a SHA1 f0af36a725114096334b404afff86ef1c4d16b71 SHA256 f1feed73b370fabc447085bb17bf0e756544bbd287d3957f1e59602585a5f580 -AUX flex-2.5.4a-skel.patch 350 RMD160 64d0168745842c4c14c806d5bb9398dfa37203e1 SHA1 e843a4c741c47a5223de7bdfbbb2d8489a423166 SHA256 950bf0133a892332d73678b2ca35978abe6184ba9a29e38e60f6e7be773409a8 -AUX flex-configure-LANG.patch 1686 RMD160 4ff8355af81705058fd411910dfae94887bcd884 SHA1 67ae0deff73689cb39cd6e7451262bdda9c25a39 SHA256 dc9386b88eac48c282d63d0be7e7be81d4a0a08035a8b97138a61133e057bcea -DIST flex-2.5.33.tar.bz2 695464 RMD160 360e08457d324c5b87c02b0ed61983877c173c98 SHA1 acdb8fff6455967ad1a5bfc71855dbcc1253ee56 SHA256 53b56a62ea9409b99b7a0ac4a5204fac16ca7eaf39b9374164c346d6badc6914 DIST flex-2.5.35.tar.bz2 1256501 RMD160 4827f940e227f9d2f454c021f69dd1c7ad3e76f4 SHA1 c507095833aaeef2d6502e12638e54bf7ad2f24a SHA256 0becbd4b2b36b99c67f8c22ab98f7f80c9860aec70f0350a0018f29a88704e7b -DIST flex-2.5.4a-autoconf.patch.bz2 13710 RMD160 e2797f6e1e0f60cb715906eae34415a66b0e3f8b SHA1 ff2a951abdb82a2384bf3c643ae7f4e8c913fdc2 SHA256 d2c9367c0995c8cc986c4e991e880bf49ce2766df3e5139b6811a67ee94ce46c -DIST flex-2.5.4a.tar.gz 380995 RMD160 6b8ff62207fd3961ad2544db083cec1e42b8519b SHA1 38a5e15c348d2ca7dce94d71de2b51484d23e2ef SHA256 791e8e26d35faed05654b17fe3a9e64eea0874d623c5aaaaf532e164378e8407 -EBUILD flex-2.5.33-r3.ebuild 1237 RMD160 e443fcd2ef584af80031e7728831343fca2ef274 SHA1 a8249ebf1f6ebfbc5a69cacdbcbb90beab902a7d SHA256 c291db8756ce4ad8e7c396c63bcdbb257ffe194e68e3da3e21855b5b7838ef5c EBUILD flex-2.5.35.ebuild 1246 RMD160 3a50cbb64751375d6645ceec7a7db119cfd65312 SHA1 a96bab9980bac6f7b70d1ade839b945ac1fc19f0 SHA256 f753df00ebb58c550c3d9756b8de4cc891001c0d35333d8ffac5bada480cb3e9 -EBUILD flex-2.5.4a-r6.ebuild 1423 RMD160 dffa8960eb3638d7445b20eec2b7f1ba955f269c SHA1 deef6f9867002888a4f437276c362affd1433cfb SHA256 565958888602edd8a926dd4eef6bd7332f347f676a1aed5b4d44fb2146a3a796 -MISC ChangeLog 8173 RMD160 636648ad5ddae2d7254a8947f75b654e9387f39e SHA1 cbf19c2a8804b78fdcb5e8ecadf751a4180149c9 SHA256 62ec98a89948f5dd47373ccd552ea6037235540d22b9c6a6e8519fa53128ef5b +MISC ChangeLog 8463 RMD160 520edb8ab20c78b939a2d5b437a45ef3a1bc4e29 SHA1 92745984e10d52ae8776e35b3b1670239f3ce8ad SHA256 b45642f1eb5f9dc59d6b8ef8074d28225f5b7e870f72dd260d53b5ac8897193c MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) -iEYEARECAAYFAknLBLYACgkQiqiDRvmkBmKiegCfUPBWeqxb5qoAQw1Zbo6Kh+D+ -YWYAn3ajeLOitNU4LqWAPDnMToODFKZJ -=8ql0 +iEYEARECAAYFAkof4G4ACgkQn/5bYzqsSmHCVwCfRY8Mlc3YoztNqDHWaOralBiZ +OisAoL2ff9rgJq0HZfQkmiNOMUjtvuS9 +=JMEj -----END PGP SIGNATURE----- diff --git a/sys-devel/flex/files/flex-2.5.31-include.patch b/sys-devel/flex/files/flex-2.5.31-include.patch deleted file mode 100644 index 8769d0db928f..000000000000 --- a/sys-devel/flex/files/flex-2.5.31-include.patch +++ /dev/null @@ -1,13 +0,0 @@ -Remove stupid -I path because it screws up cross-compiling bad. - ---- Makefile.in -+++ Makefile.in -@@ -290,7 +290,7 @@ - - - localedir = $(datadir)/locale --AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -I@includedir@ -I$(top_srcdir)/intl -+AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/intl - - # Run GNU indent on sources. Don't run this unless all the sources compile cleanly. - # diff --git a/sys-devel/flex/files/flex-2.5.33-isatty.patch b/sys-devel/flex/files/flex-2.5.33-isatty.patch deleted file mode 100644 index 2231531569c7..000000000000 --- a/sys-devel/flex/files/flex-2.5.33-isatty.patch +++ /dev/null @@ -1,53 +0,0 @@ -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 @@ - - #ifndef YY_ALWAYS_INTERACTIVE - #ifndef 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 YY_PARAMS(( int )) __THROW; -+#else - extern int isatty YY_PARAMS(( int )); -+#endif --#endif /* __cplusplus */ -+#ifdef __cplusplus -+} -+#endif -+#endif - #endif /* !YY_NEVER_INTERACTIVE */ - #endif /* !YY_ALWAYS_INTERACTIVE */ - ---- 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.33-setlocale.patch b/sys-devel/flex/files/flex-2.5.33-setlocale.patch deleted file mode 100644 index fead8ed8e9b4..000000000000 --- a/sys-devel/flex/files/flex-2.5.33-setlocale.patch +++ /dev/null @@ -1,14 +0,0 @@ -fix from upstream cvs - -http://bugs.gentoo.org/186092 - ---- flex/main.c 2006/10/22 22:17:38 2.131 -+++ flex/main.c 2007/04/14 12:27:58 2.132 -@@ -213,6 +213,7 @@ - #if ENABLE_NLS - #if HAVE_LOCALE_H - setlocale (LC_MESSAGES, ""); -+ setlocale (LC_CTYPE, ""); - textdomain (PACKAGE); - bindtextdomain (PACKAGE, LOCALEDIR); - #endif diff --git a/sys-devel/flex/files/flex-2.5.4-glibc22.patch b/sys-devel/flex/files/flex-2.5.4-glibc22.patch deleted file mode 100644 index 299aa70b4ec7..000000000000 --- a/sys-devel/flex/files/flex-2.5.4-glibc22.patch +++ /dev/null @@ -1,108 +0,0 @@ ---- flex-2.5.4/initscan.c.broken Sat Sep 30 16:50:31 2000 -+++ flex-2.5.4/initscan.c Sat Sep 30 16:51:34 2000 -@@ -10,7 +10,7 @@ - #define YY_FLEX_MINOR_VERSION 5 - - #include <stdio.h> -- -+#include <unistd.h> - - /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ - #ifdef c_plusplus -@@ -23,7 +23,6 @@ - #ifdef __cplusplus - - #include <stdlib.h> --#include <unistd.h> - - /* Use prototypes in function declarations. */ - #define YY_USE_PROTOS -@@ -3310,12 +3309,6 @@ - yy_flex_free( (void *) b ); - } - -- --#ifndef YY_ALWAYS_INTERACTIVE --#ifndef YY_NEVER_INTERACTIVE --extern int isatty YY_PROTO(( int )); --#endif --#endif - - #ifdef YY_USE_PROTOS - void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) ---- flex-2.5.4/flex.skl.broken Sat Sep 30 16:51:05 2000 -+++ flex-2.5.4/flex.skl Sat Sep 30 16:52:24 2000 -@@ -10,6 +10,7 @@ - - %- - #include <stdio.h> -+#include <unistd.h> - %* - - -@@ -27,7 +28,6 @@ - %+ - class istream; - %* --#include <unistd.h> - - /* Use prototypes in function declarations. */ - #define YY_USE_PROTOS -@@ -1177,11 +1177,6 @@ - - - %- --#ifndef YY_ALWAYS_INTERACTIVE --#ifndef YY_NEVER_INTERACTIVE --extern int isatty YY_PROTO(( int )); --#endif --#endif - - #ifdef YY_USE_PROTOS - void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -@@ -1192,7 +1187,6 @@ - #endif - - %+ --extern "C" int isatty YY_PROTO(( int )); - void yyFlexLexer::yy_init_buffer( YY_BUFFER_STATE b, istream* file ) - %* - ---- flex-2.5.4/skel.c.broken Sat Sep 30 16:52:34 2000 -+++ flex-2.5.4/skel.c Sat Sep 30 16:53:15 2000 -@@ -15,6 +15,7 @@ - "", - "%-", - "#include <stdio.h>", -+ "#include <unistd.h>", - "%*", - "", - "", -@@ -32,7 +33,6 @@ - "%+", - "class istream;", - "%*", -- "#include <unistd.h>", - "", - "/* Use prototypes in function declarations. */", - "#define YY_USE_PROTOS", -@@ -1182,11 +1182,6 @@ - "", - "", - "%-", -- "#ifndef YY_ALWAYS_INTERACTIVE", -- "#ifndef YY_NEVER_INTERACTIVE", -- "extern int isatty YY_PROTO(( int ));", -- "#endif", -- "#endif", - "", - "#ifdef YY_USE_PROTOS", - "void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )", -@@ -1197,7 +1192,6 @@ - "#endif", - "", - "%+", -- "extern \"C\" int isatty YY_PROTO(( int ));", - "void yyFlexLexer::yy_init_buffer( YY_BUFFER_STATE b, istream* file )", - "%*", - "", diff --git a/sys-devel/flex/files/flex-2.5.4a-gcc3.patch b/sys-devel/flex/files/flex-2.5.4a-gcc3.patch deleted file mode 100644 index a73dc41bd26c..000000000000 --- a/sys-devel/flex/files/flex-2.5.4a-gcc3.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- flex-2.5.4/skel.c.orig Tue Nov 6 17:29:12 2001 -+++ flex-2.5.4/skel.c Tue Nov 6 17:28:49 2001 -@@ -31,7 +31,7 @@ - "", - "#include <stdlib.h>", - "%+", -- "class istream;", -+ "#include <iostream.h>", - "%*", - "", - "/* Use prototypes in function declarations. */", diff --git a/sys-devel/flex/files/flex-2.5.4a-gcc31.patch b/sys-devel/flex/files/flex-2.5.4a-gcc31.patch deleted file mode 100644 index a8c01811923d..000000000000 --- a/sys-devel/flex/files/flex-2.5.4a-gcc31.patch +++ /dev/null @@ -1,94 +0,0 @@ ---- flex-2.5.4/skel.c.gcc31 Wed Feb 20 12:15:18 2002 -+++ flex-2.5.4/skel.c Wed Feb 20 12:15:18 2002 -@@ -31,7 +31,8 @@ - "", - "#include <stdlib.h>", - "%+", -- "#include <iostream.h>", -+ "#include <iostream>", -+ "using namespace std;", - "%*", - "", - "/* Use prototypes in function declarations. */", ---- flex-2.5.4/FlexLexer.h.gcc31 Sun Jul 27 04:41:38 1997 -+++ flex-2.5.4/FlexLexer.h Fri Mar 1 20:38:04 2002 -@@ -44,7 +44,7 @@ - #ifndef __FLEX_LEXER_H - // Never included before - need to define base class. - #define __FLEX_LEXER_H --#include <iostream.h> -+#include <iostream> - - extern "C++" { - -@@ -61,14 +61,14 @@ - virtual void - yy_switch_to_buffer( struct yy_buffer_state* new_buffer ) = 0; - virtual struct yy_buffer_state* -- yy_create_buffer( istream* s, int size ) = 0; -+ yy_create_buffer( std::istream* s, int size ) = 0; - virtual void yy_delete_buffer( struct yy_buffer_state* b ) = 0; -- virtual void yyrestart( istream* s ) = 0; -+ virtual void yyrestart( std::istream* s ) = 0; - - virtual int yylex() = 0; - - // Call yylex with new input/output sources. -- int yylex( istream* new_in, ostream* new_out = 0 ) -+ int yylex( std::istream* new_in, std::ostream* new_out = 0 ) - { - switch_streams( new_in, new_out ); - return yylex(); -@@ -76,8 +76,8 @@ - - // Switch to new input/output streams. A nil stream pointer - // indicates "keep the current one". -- virtual void switch_streams( istream* new_in = 0, -- ostream* new_out = 0 ) = 0; -+ virtual void switch_streams( std::istream* new_in = 0, -+ std::ostream* new_out = 0 ) = 0; - - int lineno() const { return yylineno; } - -@@ -104,17 +104,17 @@ - public: - // arg_yyin and arg_yyout default to the cin and cout, but we - // only make that assignment when initializing in yylex(). -- yyFlexLexer( istream* arg_yyin = 0, ostream* arg_yyout = 0 ); -+ yyFlexLexer( std::istream* arg_yyin = 0, std::ostream* arg_yyout = 0 ); - - virtual ~yyFlexLexer(); - - void yy_switch_to_buffer( struct yy_buffer_state* new_buffer ); -- struct yy_buffer_state* yy_create_buffer( istream* s, int size ); -+ struct yy_buffer_state* yy_create_buffer( std::istream* s, int size ); - void yy_delete_buffer( struct yy_buffer_state* b ); -- void yyrestart( istream* s ); -+ void yyrestart( std::istream* s ); - - virtual int yylex(); -- virtual void switch_streams( istream* new_in, ostream* new_out ); -+ virtual void switch_streams( std::istream* new_in, std::ostream* new_out ); - - protected: - virtual int LexerInput( char* buf, int max_size ); -@@ -125,7 +125,7 @@ - int yyinput(); - - void yy_load_buffer_state(); -- void yy_init_buffer( struct yy_buffer_state* b, istream* s ); -+ void yy_init_buffer( struct yy_buffer_state* b, std::istream* s ); - void yy_flush_buffer( struct yy_buffer_state* b ); - - int yy_start_stack_ptr; -@@ -140,8 +140,8 @@ - yy_state_type yy_try_NUL_trans( yy_state_type current_state ); - int yy_get_next_buffer(); - -- istream* yyin; // input source for default LexerInput -- ostream* yyout; // output sink for default LexerOutput -+ std::istream* yyin; // input source for default LexerInput -+ std::ostream* yyout; // output sink for default LexerOutput - - struct yy_buffer_state* yy_current_buffer; - diff --git a/sys-devel/flex/files/flex-2.5.4a-skel.patch b/sys-devel/flex/files/flex-2.5.4a-skel.patch deleted file mode 100644 index 5f8222adf248..000000000000 --- a/sys-devel/flex/files/flex-2.5.4a-skel.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- flex-2.5.4/skel.c.skel Wed Aug 25 14:02:51 1999 -+++ flex-2.5.4/skel.c Wed Aug 25 14:03:16 1999 -@@ -454,7 +454,7 @@ - "YY_DECL", - " {", - " register yy_state_type yy_current_state;", -- " register char *yy_cp, *yy_bp;", -+ " register char *yy_cp = NULL, *yy_bp = NULL;", - " register int yy_act;", - "", - "%% user's declarations go here", diff --git a/sys-devel/flex/files/flex-configure-LANG.patch b/sys-devel/flex/files/flex-configure-LANG.patch deleted file mode 100644 index 3ef76ef911c0..000000000000 --- a/sys-devel/flex/files/flex-configure-LANG.patch +++ /dev/null @@ -1,41 +0,0 @@ -The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in -option parsing, it may break. - -http://bugs.gentoo.org/103483 - ---- configure -+++ configure -@@ -54,6 +54,16 @@ - infodir='${prefix}/info' - mandir='${prefix}/man' - -+# NLS nuisances. -+# Only set these to C if already set. These must not be set unconditionally -+# because not all systems understand e.g. LANG=C (notably SCO). -+# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! -+# Non-C LC_CTYPE values break the ctype check. -+if test "${LANG+set}" = set; then LANG=C; export LANG; fi -+if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi -+if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi -+if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi -+ - # Initialize some other variables. - subdirs= - MFLAGS= MAKEFLAGS= -@@ -452,16 +463,6 @@ - esac - done - --# NLS nuisances. --# Only set these to C if already set. These must not be set unconditionally --# because not all systems understand e.g. LANG=C (notably SCO). --# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! --# Non-C LC_CTYPE values break the ctype check. --if test "${LANG+set}" = set; then LANG=C; export LANG; fi --if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi --if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi --if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi -- - # confdefs.h avoids OS command line length limits that DEFS can exceed. - rm -rf conftest* confdefs.h - # AIX cpp loses on an empty file, so make sure it contains at least a newline. diff --git a/sys-devel/flex/flex-2.5.33-r3.ebuild b/sys-devel/flex/flex-2.5.33-r3.ebuild deleted file mode 100644 index 781259beed99..000000000000 --- a/sys-devel/flex/flex-2.5.33-r3.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/flex-2.5.33-r3.ebuild,v 1.11 2007/12/13 04:11:26 vapier Exp $ - -inherit eutils flag-o-matic - -#DEB_VER=36 -DESCRIPTION="GNU lexical analyser generator" -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" - -DEPEND="nls? ( sys-devel/gettext )" -RDEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}" - [[ -n ${DEB_VER} ]] && epatch "${WORKDIR}"/${PN}_${PV}-${DEB_VER}.diff - epatch "${FILESDIR}"/${PN}-2.5.31-include.patch - epatch "${FILESDIR}"/${P}-isatty.patch #119598 - epatch "${FILESDIR}"/${P}-pic.patch - epatch "${FILESDIR}"/${P}-setlocale.patch #186092 - touch doc/flex.1 #187505 -} - -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 -} diff --git a/sys-devel/flex/flex-2.5.4a-r6.ebuild b/sys-devel/flex/flex-2.5.4a-r6.ebuild deleted file mode 100644 index 38f9718f78ee..000000000000 --- a/sys-devel/flex/flex-2.5.4a-r6.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/flex-2.5.4a-r6.ebuild,v 1.14 2008/12/07 03:08:55 vapier Exp $ - -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="GNU lexical analyser generator" -HOMEPAGE="http://lex.sourceforge.net/" -SRC_URI="mirror://gentoo/${P}.tar.gz - http://dev.gentoo.org/~vapier/dist/${P}-autoconf.patch.bz2 - mirror://gentoo/${P}-autoconf.patch.bz2" - -LICENSE="FLEX" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" -IUSE="static" - -DEPEND="" - -S=${WORKDIR}/${P/a/} - -src_unpack() { - unpack ${A} - - cd "${S}" - # Some Redhat patches to fix various problems - epatch "${FILESDIR}"/flex-2.5.4-glibc22.patch - epatch "${FILESDIR}"/flex-2.5.4a-gcc3.patch - epatch "${FILESDIR}"/flex-2.5.4a-gcc31.patch - epatch "${FILESDIR}"/flex-2.5.4a-skel.patch - - # included autotools are crusty, lets polish em up - epatch "${WORKDIR}"/${P}-autoconf.patch - epatch "${FILESDIR}"/${PN}-configure-LANG.patch -} - -src_compile() { - tc-export AR CC RANLIB - use static && append-ldflags -static - econf || die "econf failed" - emake -j1 .bootstrap || die "emake bootstrap failed" - emake || die "emake failed" -} - -src_test() { - make bigcheck || die "Test phase failed" -} - -src_install() { - make install DESTDIR="${D}" || die "make install failed" - dodoc NEWS README - dosym flex /usr/bin/lex -} |