summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2009-03-26 04:27:50 +0000
committerRyan Hill <rhill@gentoo.org>2009-03-26 04:27:50 +0000
commitb7d4948b0704984101bb7f96793d163cd8649d99 (patch)
treee9b9a163e3c8e20b73d566352aa232b420bdb483 /sys-devel/flex
parentRound of updates for hardened/linux style profiles (diff)
downloadhistorical-b7d4948b0704984101bb7f96793d163cd8649d99.tar.gz
historical-b7d4948b0704984101bb7f96793d163cd8649d99.tar.bz2
historical-b7d4948b0704984101bb7f96793d163cd8649d99.zip
Include cstdio for GCC 4.4.
Package-Manager: portage-2.2_rc27/cvs/Linux x86_64
Diffstat (limited to 'sys-devel/flex')
-rw-r--r--sys-devel/flex/ChangeLog6
-rw-r--r--sys-devel/flex/Manifest13
-rw-r--r--sys-devel/flex/files/flex-2.5.35-gcc44.patch13
-rw-r--r--sys-devel/flex/flex-2.5.35.ebuild3
4 files changed, 27 insertions, 8 deletions
diff --git a/sys-devel/flex/ChangeLog b/sys-devel/flex/ChangeLog
index 3ff8a3bb22f3..dc57d05f179b 100644
--- a/sys-devel/flex/ChangeLog
+++ b/sys-devel/flex/ChangeLog
@@ -1,6 +1,10 @@
# 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.80 2009/03/21 11:51:27 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/ChangeLog,v 1.81 2009/03/26 04:27:50 dirtyepic Exp $
+
+ 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.
diff --git a/sys-devel/flex/Manifest b/sys-devel/flex/Manifest
index 02f243f898c9..f2fa5ec640a7 100644
--- a/sys-devel/flex/Manifest
+++ b/sys-devel/flex/Manifest
@@ -6,6 +6,7 @@ AUX flex-2.5.33-isatty.patch 1232 RMD160 5dd313a47f30002972788135e91a513bc286eff
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
@@ -16,14 +17,14 @@ DIST flex-2.5.35.tar.bz2 1256501 RMD160 4827f940e227f9d2f454c021f69dd1c7ad3e76f4
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 1196 RMD160 5fe8090fca73f29009653ccbfafd047e72800b2a SHA1 515628632076ea0f469c9b5021f123d691b8df8e SHA256 9d4ff34812e104871b6192e5a24ac79afd99e28779725571a40cdbf2979004ba
+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 8037 RMD160 eab26f41678b60f90e9c6f2321310c6af4d81009 SHA1 3157660cff1ab1c9ff2e8a3bb3077ebeee98d516 SHA256 d997405990214d2a66a21c0dd4515969facaa92b9c3d2170349af0200431cfa4
+MISC ChangeLog 8173 RMD160 636648ad5ddae2d7254a8947f75b654e9387f39e SHA1 cbf19c2a8804b78fdcb5e8ecadf751a4180149c9 SHA256 62ec98a89948f5dd47373ccd552ea6037235540d22b9c6a6e8519fa53128ef5b
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.10 (GNU/Linux)
+Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAknE1MUACgkQn/5bYzqsSmGG6QCgsT4Kxr5LiB64BVKm7QXlRLn9
-NM8AnimJcU5AuMRubtJ91Lu4XI6SNjkw
-=P8xp
+iEYEARECAAYFAknLBLYACgkQiqiDRvmkBmKiegCfUPBWeqxb5qoAQw1Zbo6Kh+D+
+YWYAn3ajeLOitNU4LqWAPDnMToODFKZJ
+=8ql0
-----END PGP SIGNATURE-----
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 000000000000..69045bee9151
--- /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/flex-2.5.35.ebuild b/sys-devel/flex/flex-2.5.35.ebuild
index 7714df9e988e..d4b60d01ecfd 100644
--- a/sys-devel/flex/flex-2.5.35.ebuild
+++ b/sys-devel/flex/flex-2.5.35.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 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.10 2009/03/21 11:51:27 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/flex-2.5.35.ebuild,v 1.11 2009/03/26 04:27:50 dirtyepic Exp $
inherit eutils flag-o-matic
@@ -24,6 +24,7 @@ src_unpack() {
[[ -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
}