diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2007-05-03 21:26:52 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2007-05-03 21:26:52 +0000 |
commit | f9c033d1cbc8fd7e362094042aa8642969c495eb (patch) | |
tree | 7db8669c97b267f0938d4247f32673cf8c633383 /dev-libs/dietlibc | |
parent | rerun the autotools stuff for newer versions of automake (bug #160238) (diff) | |
download | historical-f9c033d1cbc8fd7e362094042aa8642969c495eb.tar.gz historical-f9c033d1cbc8fd7e362094042aa8642969c495eb.tar.bz2 historical-f9c033d1cbc8fd7e362094042aa8642969c495eb.zip |
add pre release for new SSP stuff; remove old cruft where possible
Package-Manager: portage-2.1.2.5
Diffstat (limited to 'dev-libs/dietlibc')
-rw-r--r-- | dev-libs/dietlibc/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/dietlibc/Manifest | 51 | ||||
-rw-r--r-- | dev-libs/dietlibc/dietlibc-0.25.ebuild | 59 | ||||
-rw-r--r-- | dev-libs/dietlibc/dietlibc-0.29.ebuild | 60 | ||||
-rw-r--r-- | dev-libs/dietlibc/dietlibc-0.31_pre20070503.ebuild | 48 | ||||
-rw-r--r-- | dev-libs/dietlibc/files/0.25-gcc34.patch | 93 | ||||
-rw-r--r-- | dev-libs/dietlibc/files/digest-dietlibc-0.25 | 3 | ||||
-rw-r--r-- | dev-libs/dietlibc/files/digest-dietlibc-0.29 | 3 | ||||
-rw-r--r-- | dev-libs/dietlibc/files/digest-dietlibc-0.31_pre20070503 | 6 | ||||
-rw-r--r-- | dev-libs/dietlibc/files/gcc-33.patch | 13 |
10 files changed, 75 insertions, 270 deletions
diff --git a/dev-libs/dietlibc/ChangeLog b/dev-libs/dietlibc/ChangeLog index 207caf068f2f..06af16ee8a4f 100644 --- a/dev-libs/dietlibc/ChangeLog +++ b/dev-libs/dietlibc/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-libs/dietlibc # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.67 2007/04/20 13:54:13 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.68 2007/05/03 21:26:52 hollow Exp $ + +*dietlibc-0.31_pre20070503 (03 May 2007) + + 03 May 2007; Benedikt Böhm <hollow@gentoo.org> -files/gcc-33.patch, + -files/0.25-gcc34.patch, -dietlibc-0.25.ebuild, -dietlibc-0.29.ebuild, + +dietlibc-0.31_pre20070503.ebuild: + add pre release for new SSP stuff; remove old cruft where possible 20 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org> dietlibc-0.30-r2.ebuild: diff --git a/dev-libs/dietlibc/Manifest b/dev-libs/dietlibc/Manifest index f8334784912a..8e56774ab973 100644 --- a/dev-libs/dietlibc/Manifest +++ b/dev-libs/dietlibc/Manifest @@ -1,14 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX 0.24-dirent-prototype.patch 668 RMD160 c86dd2b8860952d5f850acea204359aa48bd3ebc SHA1 08f416adc9e9727183905bd5ca1e8352122d4593 SHA256 b8ceebd840995c757098e57d3e71ec17266d02e62badc717d7e4afa95e00deb5 MD5 2d0f660abd258d75417ef8abd8ab5eb7 files/0.24-dirent-prototype.patch 668 RMD160 c86dd2b8860952d5f850acea204359aa48bd3ebc files/0.24-dirent-prototype.patch 668 SHA256 b8ceebd840995c757098e57d3e71ec17266d02e62badc717d7e4afa95e00deb5 files/0.24-dirent-prototype.patch 668 -AUX 0.25-gcc34.patch 3454 RMD160 2e0b75403f2e22fc9b2fcac1bfbb22943341d2b6 SHA1 a330e446aee9be70f3d3b7ac5d5f2494d32d30cb SHA256 7510fafb43b7a353f0b4507fd8637fd495649519257321eedbc628c0d55a2e87 -MD5 02d59156de2a7a0f914dc5769e26cdcf files/0.25-gcc34.patch 3454 -RMD160 2e0b75403f2e22fc9b2fcac1bfbb22943341d2b6 files/0.25-gcc34.patch 3454 -SHA256 7510fafb43b7a353f0b4507fd8637fd495649519257321eedbc628c0d55a2e87 files/0.25-gcc34.patch 3454 AUX dietlibc-0.26-ssp.patch 1632 RMD160 59f3ca58604b643f3e777f3484183e3a9469c990 SHA1 c25125a3ac737b88c9f26db2ed6aeeb347ac9048 SHA256 e7327c2b4f0872f27257d6960250adce01b330f3ae7fdab8ce30eab981cf69f1 MD5 9022467ec4210d62330f0eb1d8c93394 files/dietlibc-0.26-ssp.patch 1632 RMD160 59f3ca58604b643f3e777f3484183e3a9469c990 files/dietlibc-0.26-ssp.patch 1632 @@ -25,32 +18,20 @@ AUX gcc-33-r3.patch 451 RMD160 a0576ea89a560174f11004814001f0782ec9a1a4 SHA1 2d7 MD5 ee309afd4c5bd953a5133fb3383124de files/gcc-33-r3.patch 451 RMD160 a0576ea89a560174f11004814001f0782ec9a1a4 files/gcc-33-r3.patch 451 SHA256 3deaf13c0d56375c8f6002b349214178386f4441664540cde2c07a5a09498396 files/gcc-33-r3.patch 451 -AUX gcc-33.patch 482 RMD160 eee284b1c93c62caed3d49a64c175957ae456ddf SHA1 853f70a8bdc2cf978f26a8ce0a750915d4e3337a SHA256 90b9414e671b2b43c524a3bf66e1fa42792f5e9de7d820c9c7b9d3d76b9bd46b -MD5 9247251c0adc5ce1b626d7092ae0c903 files/gcc-33.patch 482 -RMD160 eee284b1c93c62caed3d49a64c175957ae456ddf files/gcc-33.patch 482 -SHA256 90b9414e671b2b43c524a3bf66e1fa42792f5e9de7d820c9c7b9d3d76b9bd46b files/gcc-33.patch 482 AUX ssp.c 3065 RMD160 4d1f9aeb0d7d63978b717b7487dfbf17b9fd046a SHA1 ce38c67dc73f304f0036513b484436b83fb4c7f8 SHA256 a35ab2cd397c28d850667d99ca39eab1c521c141c9bb4826fb9c91310406d52c MD5 65a68ed33fd14d52b23a2fe28e06dfc9 files/ssp.c 3065 RMD160 4d1f9aeb0d7d63978b717b7487dfbf17b9fd046a files/ssp.c 3065 SHA256 a35ab2cd397c28d850667d99ca39eab1c521c141c9bb4826fb9c91310406d52c files/ssp.c 3065 -DIST dietlibc-0.25.tar.bz2 509606 RMD160 8f6c301b524d5758697d875b5de16e9e0f6ba199 SHA1 1c8639cc758b54bd7130ecd0870195f6ed1e5219 SHA256 413bbd04d88cf13786df5073315eede915d658c52c960e11797e59c8b5072d53 DIST dietlibc-0.28.tar.bz2 560540 RMD160 242cbcd5b7e7f341713f587598cddc9d6ee39f59 SHA1 ac67fca8e57f495e9834dfc77f3e3df227488774 SHA256 2b5cba7bad7ef6a4c0e83303c78cbf426e1fe01a5a69aeae801d714d6fdc002c -DIST dietlibc-0.29.tar.bz2 555075 RMD160 be78077abe892bbabeb38b30f430a5982e3c9c3b SHA1 8720dbc07c5c63ab02cf267f4ebf19b0eee5f267 SHA256 41df3b5d07d5de1dcf712eda3ddd27bc9843c9413e8cecefced09db873cf18db DIST dietlibc-0.30-patches-r0.tar.bz2 13466 RMD160 aef639595e93bd319744901aa87ae15d331709f2 SHA1 f71163605ea54cef6a336a2c360beec38234858e SHA256 bdc14a428b53dcd57bbce2337198e43473964624021d5a4918c5147753e75251 DIST dietlibc-0.30.tar.bz2 567046 RMD160 98d4e20e106f60835ed4a22d3013d9a34957f18a SHA1 cab8631f8ca1902d6668584f72f71706bee020eb SHA256 2c8733825d364d374f0179a403a57e4a382fbb9852431228ef19062a5de183b5 +DIST dietlibc-0.31_pre20070503.tar.bz2 564475 RMD160 e8b3a8c5cc337f85104679bf920fe82d3ee115cc SHA1 f536c00b30bc40f1063f64a5092815b2b4efe4f4 SHA256 988e04fd628ed90b259e08489cd86e1fa705e83632a145bd05197935c9c9b7f9 DIST dietlibc-patches-0.30-r2.tar.bz2 31582 RMD160 6cd2a89cb47131360ed6e6a8cbcbe79aad84b18a SHA1 9c0bb84a7449edbfaccf0cbe694ccf8f57e26566 SHA256 03a3ea9bba39fb78511a59e80bcbdafdc82a0859b31b6af925854052a79f06fe -EBUILD dietlibc-0.25.ebuild 1574 RMD160 51c448752757f1d97e8badd1992a8d6ae36c03fb SHA1 c031fa9a7a9acd2bb3f19b927fc3bca15e92b718 SHA256 f15f5429024850f407edf33cb1a9f4631055aacefe00c738eb6fc0dfe816b39b -MD5 39270afc5eed80629258e1abf196794e dietlibc-0.25.ebuild 1574 -RMD160 51c448752757f1d97e8badd1992a8d6ae36c03fb dietlibc-0.25.ebuild 1574 -SHA256 f15f5429024850f407edf33cb1a9f4631055aacefe00c738eb6fc0dfe816b39b dietlibc-0.25.ebuild 1574 +DIST dietlibc-patches-0.31_pre20070503.tar.bz2 26838 RMD160 f3f85d514a117fb1b8e8f73801e1332b33f9224d SHA1 bdac1e39bebb53a14ef7e39c564baab86a1bce33 SHA256 00aeabb7bb41807e577a1e08095270f5f660139b369d078ca8ee697ca6795012 EBUILD dietlibc-0.28.ebuild 1575 RMD160 9508b5719d3cf8b38d9eed54f4803838729c809b SHA1 1410d8c9b98a7ea2f15efac7c93bba56274c8733 SHA256 e70704a8a284268012a38fed5e39f0280e9ebcb2bf2bdf2799817c467e90c44f MD5 5893f3f2f10b3e58f4fbf09fd68f11b3 dietlibc-0.28.ebuild 1575 RMD160 9508b5719d3cf8b38d9eed54f4803838729c809b dietlibc-0.28.ebuild 1575 SHA256 e70704a8a284268012a38fed5e39f0280e9ebcb2bf2bdf2799817c467e90c44f dietlibc-0.28.ebuild 1575 -EBUILD dietlibc-0.29.ebuild 1859 RMD160 dcc1e2225476f0799be643084adb52fb8d7d8946 SHA1 6a0948895188c994ce2beabd7d9318bc65611ea4 SHA256 e76a51ae87fc4cdd076d8662284ba030a5a80501754f825924861c3dd0d3656a -MD5 335d8fa79c4c6e0a0df3986e2bf9be47 dietlibc-0.29.ebuild 1859 -RMD160 dcc1e2225476f0799be643084adb52fb8d7d8946 dietlibc-0.29.ebuild 1859 -SHA256 e76a51ae87fc4cdd076d8662284ba030a5a80501754f825924861c3dd0d3656a dietlibc-0.29.ebuild 1859 EBUILD dietlibc-0.30-r2.ebuild 1498 RMD160 9e74025e9d6870a9177473a1b5bfd56be3d1dbe8 SHA1 77af2434528472b518727d4d57f43a122b71178c SHA256 76a1cabf06e5e61f0fb12e1249f4f04ae157b50d4e9ac7136f0c9541ff63339f MD5 72307b38228f4c1b4ace988ba93e08f9 dietlibc-0.30-r2.ebuild 1498 RMD160 9e74025e9d6870a9177473a1b5bfd56be3d1dbe8 dietlibc-0.30-r2.ebuild 1498 @@ -59,33 +40,27 @@ EBUILD dietlibc-0.30.ebuild 1313 RMD160 1d6379fa869b610bc746024f16ca7aa4db7d49ca MD5 7a3b689b1f15d5208d8b9f45d79aa276 dietlibc-0.30.ebuild 1313 RMD160 1d6379fa869b610bc746024f16ca7aa4db7d49ca dietlibc-0.30.ebuild 1313 SHA256 760e6363ea07a6b61cb043b7aed5c50aabf79ceb135c268e7f99b47adf45133e dietlibc-0.30.ebuild 1313 -MISC ChangeLog 9648 RMD160 28042c070f4c80d4dc2fa8165cb3f22db0d713c7 SHA1 9157430ead88fcd64b97f2944a2fab80958e6a5f SHA256 f96be233fcc3de332b1de6be6c600ce8b8e2f278f0df9b796265f78367243afc -MD5 56e99b23873e50930f1e2af7cf090f11 ChangeLog 9648 -RMD160 28042c070f4c80d4dc2fa8165cb3f22db0d713c7 ChangeLog 9648 -SHA256 f96be233fcc3de332b1de6be6c600ce8b8e2f278f0df9b796265f78367243afc ChangeLog 9648 +EBUILD dietlibc-0.31_pre20070503.ebuild 1329 RMD160 b68431109a95b6eb7dd7c99dfeed28b8b9db0a4d SHA1 fb69e7a86e3b64b42de2ac3980d68a43eba2e927 SHA256 a43fb175bd35d3c81a937d5c2e5f9771c466f312980d3dde65a7da8e914adc0a +MD5 b871a1409b51f98595ae8c5b5f614cce dietlibc-0.31_pre20070503.ebuild 1329 +RMD160 b68431109a95b6eb7dd7c99dfeed28b8b9db0a4d dietlibc-0.31_pre20070503.ebuild 1329 +SHA256 a43fb175bd35d3c81a937d5c2e5f9771c466f312980d3dde65a7da8e914adc0a dietlibc-0.31_pre20070503.ebuild 1329 +MISC ChangeLog 9939 RMD160 cea31ea113b02e8347e62980ce5ca1bc1558cb0e SHA1 a8df796707cfe83c3f89d3da57b2b5301864aaf6 SHA256 933982c0804b6a5236cb257ebf3321aae428110e9dcf4a68e6afba213c98c422 +MD5 9a8d37f5c2e509bbdc0896b87a819149 ChangeLog 9939 +RMD160 cea31ea113b02e8347e62980ce5ca1bc1558cb0e ChangeLog 9939 +SHA256 933982c0804b6a5236cb257ebf3321aae428110e9dcf4a68e6afba213c98c422 ChangeLog 9939 MISC metadata.xml 470 RMD160 db39535bf43d1cea49d04c2ed52bbbc94c94d0cb SHA1 f62e5efb0981e616d453f7f00f3497e5d6f64949 SHA256 34784c3fc1a9a2c548ca86b04f3729cfd045140fcd54b6caeb8c53ce05f16639 MD5 3effe4dd8085cc629d8f6a42cbc10a31 metadata.xml 470 RMD160 db39535bf43d1cea49d04c2ed52bbbc94c94d0cb metadata.xml 470 SHA256 34784c3fc1a9a2c548ca86b04f3729cfd045140fcd54b6caeb8c53ce05f16639 metadata.xml 470 -MD5 e55ec63549aa9f827e8f726939190edb files/digest-dietlibc-0.25 244 -RMD160 6c01af2082ddafa81701a10c89ffbbc53a2a3463 files/digest-dietlibc-0.25 244 -SHA256 07d1fcbc4b451a4c7506f9c64333b67f64213ca08714cc470efb1b075078f405 files/digest-dietlibc-0.25 244 MD5 90ac396d9ba3f6f7bb4f6b04ab2221e3 files/digest-dietlibc-0.28 244 RMD160 2a19556861e654340f9185478ea607b86ad04e8c files/digest-dietlibc-0.28 244 SHA256 6ec1db8d4f38e9f0f31e143bbf5ca22eb82fba0426d80774e90d10004d63cba4 files/digest-dietlibc-0.28 244 -MD5 64d10119571ae1899aab67a03409bc57 files/digest-dietlibc-0.29 244 -RMD160 56a99c2d05ba50c5434c7d14ff1d7f812c27efba files/digest-dietlibc-0.29 244 -SHA256 d3613eb6b51a67d1624be9bb26123baf12827d88138fddedc70317671457dfcd files/digest-dietlibc-0.29 244 MD5 9cdef8552365d9148d509f59f62b2250 files/digest-dietlibc-0.30 518 RMD160 c2f67ad2dc995b0b842855e39c90f683231b79b2 files/digest-dietlibc-0.30 518 SHA256 94d6f2ad3560d8a7948fe9a06fd8b037abf158fcfee15f0f5e3b12d8e1871894 files/digest-dietlibc-0.30 518 MD5 e74d53057e6cde1d8ef24e791ba3aa32 files/digest-dietlibc-0.30-r2 518 RMD160 ceec4c5a52a02f052253591376950cf610447819 files/digest-dietlibc-0.30-r2 518 SHA256 aafa58362537fa91103dc1ccff71803961652fd74434ab96416a83ee5a4a4e9f files/digest-dietlibc-0.30-r2 518 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux) - -iD8DBQFGKMYLKRy60XGEcJIRAp1MAJ4n/XN4mfaviGvlQS6N4G/wi4+QjwCfZ8gz -HIk1RPPMLVzlv9Yd8Nyp840= -=oFlz ------END PGP SIGNATURE----- +MD5 de6c684f7143e144a8ba603f9efa8abf files/digest-dietlibc-0.31_pre20070503 581 +RMD160 aa7e7c679d8349eb097c16314f71bb1dfdc431b1 files/digest-dietlibc-0.31_pre20070503 581 +SHA256 50ddd8382f69adf187632f87a2bdab01beed92ff2df93e15987684adbbdfe125 files/digest-dietlibc-0.31_pre20070503 581 diff --git a/dev-libs/dietlibc/dietlibc-0.25.ebuild b/dev-libs/dietlibc/dietlibc-0.25.ebuild deleted file mode 100644 index 1edf1c0ad7ab..000000000000 --- a/dev-libs/dietlibc/dietlibc-0.25.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.25.ebuild,v 1.11 2006/01/07 08:23:28 phreak Exp $ - -inherit eutils flag-o-matic fixheadtails toolchain-funcs - -DESCRIPTION="A minimal libc" -HOMEPAGE="http://www.fefe.de/dietlibc/" -SRC_URI="mirror://kernel/linux/libs/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ppc sparc alpha arm hppa amd64" -IUSE="" - -DEPEND=">=sys-apps/sed-4" - -src_unpack() { - unpack ${A} - cd ${S} - - epatch "${FILESDIR}/0.24-dirent-prototype.patch" - [ $(gcc-major-version) -eq 3 ] \ - && epatch ${FILESDIR}/gcc-33.patch \ - && epatch ${FILESDIR}/${PV}-gcc34.patch - - # depending on glibc to provide guard symbols, does not work with -nostdlib building - filter-flags -fstack-protector -fstack-protector-all - - # Fix for 45716 - replace-sparc64-flags - - sed -i \ - -e "s:^CFLAGS.*:CFLAGS = ${CFLAGS}:" \ - -e "s:^prefix.*:prefix=/usr/diet:" \ - -e "s:^#DESTDIR=.*:DESTDIR=${D}:" \ - Makefile \ - || die "sed Makefile failed" - - # New fix for sparc64 and dietlibc, fixes bug #45601 - [ "${PROFILE_ARCH}" = "sparc64" ] && \ - epatch ${FILESDIR}/dietlibc-sparc64-makefile.patch - - ht_fix_all -} - -src_compile() { - emake || die "emake failed" -} - -src_install() { - make install || die "make install failed" - - exeinto /usr/bin - newexe bin-$(uname -m | sed -e 's/i[4-9]86/i386/' -e 's/armv[3-6][lb]/arm/' -e 's/sparc64/sparc/')/diet-i diet || die "newexe failed" - - doman diet.1 - dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING -} diff --git a/dev-libs/dietlibc/dietlibc-0.29.ebuild b/dev-libs/dietlibc/dietlibc-0.29.ebuild deleted file mode 100644 index dbd4bff3c937..000000000000 --- a/dev-libs/dietlibc/dietlibc-0.29.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.29.ebuild,v 1.2 2006/01/07 08:23:28 phreak Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="A minimal libc" -HOMEPAGE="http://www.fefe.de/dietlibc/" -SRC_URI="mirror://kernel/linux/libs/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug" - -DEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/0.24-dirent-prototype.patch - # No longer needed with 0.29 - #epatch "${FILESDIR}"/gcc-33-r3.patch - epatch "${FILESDIR}"/dietlibc-sparc64-makefile.patch #45601 - - filter-flags -fstack-protector -fstack-protector-all - - # Ok so let's make dietlibc ssp aware (Aug 7 2004) -solar - cp ${FILESDIR}/ssp.c "${S}"/lib/ || die "Failed to copy ssp.c into lib for compile" - epatch "${FILESDIR}"/dietlibc-0.26-ssp.patch - - replace-sparc64-flags #45716 - - # Fix for a non-available gcc option on hppa (20 Jul 2005) KillerFox - test_flag -fno-stack-protector && \ - append-flags -D__dietlibc__ -fno-stack-protector-all -fno-stack-protector - epatch "${FILESDIR}"/dietlibc-0.28-Makefile.patch -} - -src_compile() { - local make_opt= - - use debug && make_opt="DEBUG=1" - - # Fix a compilation problem using the 32-bit userland with 64-bit kernel on - # PowerPC, because with that configuration, dietlibc detects a ppc64 system. - # -- hansmi, 2005-09-04 - use ppc && sed -i -e 's/^MYARCH:=.*$/MYARCH=ppc/' Makefile - - emake CFLAGS="${CFLAGS}" ${make_opt} || die "emake failed" -} - -src_install() { - make install DESTDIR="${D}" || die "make install failed" - dobin "${D}"/usr/diet/bin/* || die "dobin" - doman "${D}"/usr/diet/man/*/* || die "doman" - rm -r "${D}"/usr/diet/{man,bin} - dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING -} diff --git a/dev-libs/dietlibc/dietlibc-0.31_pre20070503.ebuild b/dev-libs/dietlibc/dietlibc-0.31_pre20070503.ebuild new file mode 100644 index 000000000000..1e26b872fa80 --- /dev/null +++ b/dev-libs/dietlibc/dietlibc-0.31_pre20070503.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.31_pre20070503.ebuild,v 1.1 2007/05/03 21:26:52 hollow Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="A minimal libc" +HOMEPAGE="http://www.fefe.de/dietlibc/" +SRC_URI="mirror://gentoo/${P}.tar.bz2 + http://dev.gentoo.org/~phreak/distfiles/${PN}-patches-${PVR}.tar.bz2 + http://dev.gentoo.org/~hollow/distfiles/${PN}-patches-${PVR}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug" + +DEPEND="" + +pkg_setup() { + # Replace sparc64 related C[XX]FLAGS (see bug #45716) + use sparc && replace-sparc64-flags + + # gcc-hppa suffers support for SSP, compilation will fail + use hppa && strip-unsupported-flags + + # debug flags + use debug && append-flags -g +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${WORKDIR}"/patches/*.patch +} + +src_compile() { + # parallel make is b0rked + emake -j1 CFLAGS="${CFLAGS}" || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dobin "${D}"/usr/diet/bin/* || die "dobin failed" + doman "${D}"/usr/diet/man/*/* || die "doman failed" + rm -r "${D}"/usr/diet/{man,bin} + dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING +} diff --git a/dev-libs/dietlibc/files/0.25-gcc34.patch b/dev-libs/dietlibc/files/0.25-gcc34.patch deleted file mode 100644 index 1b66e0bfc087..000000000000 --- a/dev-libs/dietlibc/files/0.25-gcc34.patch +++ /dev/null @@ -1,93 +0,0 @@ -diff -r -u dietlibc-0.24.orig/include/sys/cdefs.h dietlibc-0.24/include/sys/cdefs.h ---- dietlibc-0.24.orig/include/sys/cdefs.h 2003-10-08 02:44:25.000000000 +0300 -+++ dietlibc-0.24/include/sys/cdefs.h 2004-05-14 16:54:00.315533488 +0300 -@@ -62,5 +62,10 @@ - #define __attribute_dontuse__ - #define __deprecated__ - #endif -- -+#ifdef __i386__ -+/* regparm exists only on i386 */ -+#define FASTCALL(n) __attribute__((regparm(n))) -+#else -+#define FASTCALL(n) -+#endif - #endif -diff -r -u dietlibc-0.24.orig/lib/alloc.c dietlibc-0.24/lib/alloc.c ---- dietlibc-0.24.orig/lib/alloc.c 2003-11-07 19:22:33.000000000 +0200 -+++ dietlibc-0.24/lib/alloc.c 2004-05-14 16:56:57.104657456 +0300 -@@ -44,14 +44,8 @@ - - /* a simple mmap :) */ - --#ifdef __i386__ --/* regparm exists only on i386 */ --static void *do_mmap(size_t size) __attribute__((regparm(1))); --static size_t get_index(size_t _size) __attribute__((regparm(1))); --static void* __small_malloc(size_t _size) __attribute__((regparm(1))); --#endif - --static void *do_mmap(size_t size) { -+static FASTCALL(1) void *do_mmap(size_t size) { - return mmap(0, size, PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE, -1, (size_t)0); - } - -@@ -70,7 +64,7 @@ - - static inline int __ind_shift() { return (MEM_BLOCK_SIZE==4096)?4:5; } - --static size_t get_index(size_t _size) { -+static FASTCALL(1) size_t get_index(size_t _size) { - register size_t idx=0; - if (_size) { - register size_t size=((_size-1)&(MEM_BLOCK_SIZE-1))>>__ind_shift(); -@@ -80,9 +74,7 @@ - } - - /* small mem */ --static void __small_free(void*_ptr,size_t _size) __attribute__((regparm(2))); -- --static void __small_free(void*_ptr,size_t _size) { -+static FASTCALL(2) void __small_free(void*_ptr,size_t _size) { - __alloc_t* ptr=BLOCK_START(_ptr); - size_t size=_size; - size_t idx=get_index(size); -@@ -93,7 +85,7 @@ - __small_mem[idx]=ptr; - } - --static void* __small_malloc(size_t _size) { -+static FASTCALL(1) void* __small_malloc(size_t _size) { - __alloc_t *ptr; - size_t size=_size; - size_t idx; -diff -r -u dietlibc-0.24.orig/libpthread/pthread_internal.c dietlibc-0.24/libpthread/pthread_internal.c ---- dietlibc-0.24.orig/libpthread/pthread_internal.c 2003-11-04 18:06:58.000000000 +0200 -+++ dietlibc-0.24/libpthread/pthread_internal.c 2004-05-14 16:59:44.030280904 +0300 -@@ -49,10 +49,7 @@ - static inline unsigned long hash_tid(int tid) { return (tid&(NR_BUCKETS-1)); } - - /* O(1) */ --#if defined(__i386__) --static void __thread_add_tid_(_pthread_descr*root,_pthread_descr thread) __attribute__((regparm(2))); --#endif --static void __thread_add_tid_(_pthread_descr*root,_pthread_descr thread) { -+static FASTCALL(2) void __thread_add_tid_(_pthread_descr*root,_pthread_descr thread) { - _pthread_descr tmp=*root; - thread->prev=root; - thread->next=tmp; -@@ -76,12 +73,12 @@ - /* find thread by thread-id O(n) (LOCK struct if found) */ - /* O(n*) linear to the number of thread in the same bucket */ - #if defined(__i386__) --static _pthread_descr __thread_find_(int pid) __attribute__((regparm(1))); -+static FASTCALL(1) _pthread_descr __thread_find_(int pid); - _pthread_descr __thread_find(int pid) { return __thread_find_(pid); } - #else - _pthread_descr __thread_find(int pid) __attribute__((alias("__thread_find_"))); - #endif --static _pthread_descr __thread_find_(int pid) { -+static FASTCALL(1) _pthread_descr __thread_find_(int pid) { - _pthread_descr cur; - if (__thread_started==PTHREAD_ONCE_INIT) { /* uninitialised */ - LOCK(&_main_thread); diff --git a/dev-libs/dietlibc/files/digest-dietlibc-0.25 b/dev-libs/dietlibc/files/digest-dietlibc-0.25 deleted file mode 100644 index 49d03ac0d4ea..000000000000 --- a/dev-libs/dietlibc/files/digest-dietlibc-0.25 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 a24c99d65b7443d17d0b15b74a1b39a0 dietlibc-0.25.tar.bz2 509606 -RMD160 8f6c301b524d5758697d875b5de16e9e0f6ba199 dietlibc-0.25.tar.bz2 509606 -SHA256 413bbd04d88cf13786df5073315eede915d658c52c960e11797e59c8b5072d53 dietlibc-0.25.tar.bz2 509606 diff --git a/dev-libs/dietlibc/files/digest-dietlibc-0.29 b/dev-libs/dietlibc/files/digest-dietlibc-0.29 deleted file mode 100644 index 5f0632090bbe..000000000000 --- a/dev-libs/dietlibc/files/digest-dietlibc-0.29 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 16d31dd7b5f9124e8ea8280c3f646e13 dietlibc-0.29.tar.bz2 555075 -RMD160 be78077abe892bbabeb38b30f430a5982e3c9c3b dietlibc-0.29.tar.bz2 555075 -SHA256 41df3b5d07d5de1dcf712eda3ddd27bc9843c9413e8cecefced09db873cf18db dietlibc-0.29.tar.bz2 555075 diff --git a/dev-libs/dietlibc/files/digest-dietlibc-0.31_pre20070503 b/dev-libs/dietlibc/files/digest-dietlibc-0.31_pre20070503 new file mode 100644 index 000000000000..2ea2fb878405 --- /dev/null +++ b/dev-libs/dietlibc/files/digest-dietlibc-0.31_pre20070503 @@ -0,0 +1,6 @@ +MD5 16e695e032ea2c957f4227cb169ac2ca dietlibc-0.31_pre20070503.tar.bz2 564475 +RMD160 e8b3a8c5cc337f85104679bf920fe82d3ee115cc dietlibc-0.31_pre20070503.tar.bz2 564475 +SHA256 988e04fd628ed90b259e08489cd86e1fa705e83632a145bd05197935c9c9b7f9 dietlibc-0.31_pre20070503.tar.bz2 564475 +MD5 56487dbb8875bf8a2360228e3172f8fe dietlibc-patches-0.31_pre20070503.tar.bz2 26838 +RMD160 f3f85d514a117fb1b8e8f73801e1332b33f9224d dietlibc-patches-0.31_pre20070503.tar.bz2 26838 +SHA256 00aeabb7bb41807e577a1e08095270f5f660139b369d078ca8ee697ca6795012 dietlibc-patches-0.31_pre20070503.tar.bz2 26838 diff --git a/dev-libs/dietlibc/files/gcc-33.patch b/dev-libs/dietlibc/files/gcc-33.patch deleted file mode 100644 index 1ff6127f24b1..000000000000 --- a/dev-libs/dietlibc/files/gcc-33.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- diet.c 2003-10-10 15:17:46.000000000 +0200 -+++ diet.c 2004-02-15 19:03:01.000000000 +0100 -@@ -26,8 +26,8 @@ - - static const char* Os[] = { - "i386","-Os","-mpreferred-stack-boundary=2", -- "-malign-functions=1","-malign-jumps=1", -- "-malign-loops=1","-fomit-frame-pointer",0, -+ "-falign-functions","-falign-jumps", -+ "-falign-loops","-fomit-frame-pointer",0, - "x86_64","-Os","-fno-omit-frame-pointer",0, - "sparc","-Os","-mcpu=supersparc",0, - "sparc64","-Os","-m64",0, |