summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2012-01-29 13:00:13 +0000
committerBenedikt Boehm <hollow@gentoo.org>2012-01-29 13:00:13 +0000
commit342b45b5299ef84766dc2b3497d5fb62140e6fce (patch)
treeec1385b49c854feac846a89ebacfe49a7994a606 /dev-libs/dietlibc
parentRespect user's decision whether to generate debug info when build stuff (rela... (diff)
downloadhistorical-342b45b5299ef84766dc2b3497d5fb62140e6fce.tar.gz
historical-342b45b5299ef84766dc2b3497d5fb62140e6fce.tar.bz2
historical-342b45b5299ef84766dc2b3497d5fb62140e6fce.zip
remove obsolete ebuilds
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/dietlibc')
-rw-r--r--dev-libs/dietlibc/ChangeLog11
-rw-r--r--dev-libs/dietlibc/Manifest34
-rw-r--r--dev-libs/dietlibc/dietlibc-0.28.ebuild51
-rw-r--r--dev-libs/dietlibc/dietlibc-0.30.ebuild46
-rw-r--r--dev-libs/dietlibc/dietlibc-0.33_pre20100626.ebuild50
-rw-r--r--dev-libs/dietlibc/files/0.24-dirent-prototype.patch14
-rw-r--r--dev-libs/dietlibc/files/dietlibc-0.26-ssp.patch54
-rw-r--r--dev-libs/dietlibc/files/dietlibc-0.28-Makefile.patch28
-rw-r--r--dev-libs/dietlibc/files/dietlibc-sparc64-makefile.patch11
-rw-r--r--dev-libs/dietlibc/files/gcc-33-r3.patch16
-rw-r--r--dev-libs/dietlibc/files/ssp.c129
11 files changed, 10 insertions, 434 deletions
diff --git a/dev-libs/dietlibc/ChangeLog b/dev-libs/dietlibc/ChangeLog
index ded83baf14f4..0e9b9fb6f5a6 100644
--- a/dev-libs/dietlibc/ChangeLog
+++ b/dev-libs/dietlibc/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/dietlibc
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.88 2011/11/20 09:20:49 xarthisius Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.89 2012/01/29 13:00:13 hollow Exp $
+
+ 29 Jan 2012; Benedikt Böhm <hollow@gentoo.org>
+ -files/0.24-dirent-prototype.patch, -files/dietlibc-0.26-ssp.patch,
+ -dietlibc-0.28.ebuild, -files/dietlibc-0.28-Makefile.patch,
+ -dietlibc-0.30.ebuild, -dietlibc-0.33_pre20100626.ebuild,
+ -files/gcc-33-r3.patch, -files/dietlibc-sparc64-makefile.patch, -files/ssp.c:
+ remove obsolete ebuilds
20 Nov 2011; Kacper Kowalik <xarthisius@gentoo.org> dietlibc-0.28.ebuild,
dietlibc-0.30-r2.ebuild, dietlibc-0.30.ebuild,
diff --git a/dev-libs/dietlibc/Manifest b/dev-libs/dietlibc/Manifest
index 8a2db2721dca..4d626e5cbe9d 100644
--- a/dev-libs/dietlibc/Manifest
+++ b/dev-libs/dietlibc/Manifest
@@ -1,39 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-AUX 0.24-dirent-prototype.patch 668 RMD160 c86dd2b8860952d5f850acea204359aa48bd3ebc SHA1 08f416adc9e9727183905bd5ca1e8352122d4593 SHA256 b8ceebd840995c757098e57d3e71ec17266d02e62badc717d7e4afa95e00deb5
-AUX dietlibc-0.26-ssp.patch 1632 RMD160 59f3ca58604b643f3e777f3484183e3a9469c990 SHA1 c25125a3ac737b88c9f26db2ed6aeeb347ac9048 SHA256 e7327c2b4f0872f27257d6960250adce01b330f3ae7fdab8ce30eab981cf69f1
-AUX dietlibc-0.28-Makefile.patch 529 RMD160 4b66ccd46900965111fbaa0f7712fa61d921bdcb SHA1 b81202d1aaa9b93640adc1307598adb719440c2a SHA256 4307ae87429c4d431d0770532b4a7e96e209e2247baa884a7bb90cfc306a647d
-AUX dietlibc-sparc64-makefile.patch 499 RMD160 a7f21fcc3a96646fed11cf19e09683d35bc4ad83 SHA1 8c619b218f6e9e1834d377bc7be4b18b9cee456b SHA256 59d73b59df80ec83758b5bf6ffeb7cefd1359705e128cc2392f1b1603e2c3074
-AUX gcc-33-r3.patch 451 RMD160 a0576ea89a560174f11004814001f0782ec9a1a4 SHA1 2d7f06e3a660afe5b70af58000f0f86ad25dcdc6 SHA256 3deaf13c0d56375c8f6002b349214178386f4441664540cde2c07a5a09498396
-AUX ssp.c 3065 RMD160 4d1f9aeb0d7d63978b717b7487dfbf17b9fd046a SHA1 ce38c67dc73f304f0036513b484436b83fb4c7f8 SHA256 a35ab2cd397c28d850667d99ca39eab1c521c141c9bb4826fb9c91310406d52c
-DIST dietlibc-0.28.tar.bz2 560540 RMD160 242cbcd5b7e7f341713f587598cddc9d6ee39f59 SHA1 ac67fca8e57f495e9834dfc77f3e3df227488774 SHA256 2b5cba7bad7ef6a4c0e83303c78cbf426e1fe01a5a69aeae801d714d6fdc002c
-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.33_pre20100626.tar.bz2 596013 RMD160 70fdd9ce982c2e5fe57189583cf8bffd19eaef54 SHA1 5aa7d10aae4f95af34e9184acdd725cf90f56a22 SHA256 62ae548997c6ccd05f5e2df8e96b36f517674b9e0fe6a1797c1eb892f7985a88
DIST dietlibc-0.33_pre20110403.tar.gz 743758 RMD160 75ee2c54bfe7dace47082e23a439a220950b0631 SHA1 e20dc31a97f0e6cc4e9aaf95ad5016a4dbc594fd SHA256 6505ed424a5b53850ae1dcbc75fbf92f3b7e4038dd1104d114b366221cc48eea
DIST dietlibc-patches-0.30-r2.tar.bz2 31582 RMD160 6cd2a89cb47131360ed6e6a8cbcbe79aad84b18a SHA1 9c0bb84a7449edbfaccf0cbe694ccf8f57e26566 SHA256 03a3ea9bba39fb78511a59e80bcbdafdc82a0859b31b6af925854052a79f06fe
-EBUILD dietlibc-0.28.ebuild 1568 RMD160 aecfcaad22d0848d05c8b6ae0d42cc0058ffb56c SHA1 6be7a28644b803add2d41c4507ceceea0505779a SHA256 1175349de3fc225bdbfe63918916d1698098ae58f18aa87a3dc1f36b14bcdc59
EBUILD dietlibc-0.30-r2.ebuild 1486 RMD160 5353c9b0d3380d8d08bbfa3a2387b37197c4f442 SHA1 ddf9915ef4940bfc9b560e238e309ee626ff03b4 SHA256 6cfad13261b5667157ba5bd3fa3aa4718ea68515bdf64e2c3727b350808e7b9d
-EBUILD dietlibc-0.30.ebuild 1306 RMD160 faa644ea8b5420f771d5c3e98b07ba052ed2cfb2 SHA1 8b801a1aa61331ad5850fec997a736487d58a0d4 SHA256 e627a2a24aee0409366df1e18f49481e14892c645c77b4bc9e9ae471f138e853
-EBUILD dietlibc-0.33_pre20100626.ebuild 1459 RMD160 834c3d5c83e388ad55a405b146ad5f4ea7220d7d SHA1 21f151a380116d0bd9eae6316ec4f51e3434ddd6 SHA256 96328d42681bf4530e3d0bc0cba3c686c936db05f47929ac69be394da9f5297f
EBUILD dietlibc-0.33_pre20110403.ebuild 1766 RMD160 035b3843baf7d335c54e18b265af38d40cbb5a1e SHA1 f21ddb0e104ca16a3263c2607e97b264b8928031 SHA256 6417f1034c03bf734b334981d06446b551f7992b0d428ec00f1ba5c646a6435a
-MISC ChangeLog 13073 RMD160 2514f4bfd51a63ba1c66836b75c0febff5fee04f SHA1 c2285e27744dc143ec6d099eb26f7f827d747501 SHA256 c2be824b267001b7b2d42602554fc9f7b30657203a5a34506757d611166a0fdf
+MISC ChangeLog 13418 RMD160 a3a19f30e869525c33aa216c083e3f41736f9d7d SHA1 f23d4f87fd457c07f37b076ec89976f06ed8cd2b SHA256 cbf5544043f218c7034aa654528dd14640e8ee47d0a8666d4ba2dc17f794be22
MISC metadata.xml 410 RMD160 063e81d4d38be2fa6f093828b42a0ee3e5b2b582 SHA1 e73d09647dcac3413d7bccb6f1d2a0bc50e60f48 SHA256 3fc38345f9430d71c6369f84fc1b6248bc8aa0ec74cb4ae5b2797fe01cf48721
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
-
-iQIcBAEBCAAGBQJOyMZ4AAoJEF0huFKJUZL5cSAP/04IGGcBLNuK2zysdTBAvSfw
-Jyt8a55ngQAqRsDIBSL1lBtFoF0cMpSZTXM0XjSvktiZ5vrNd1oQXvdqYTbUEo3Y
-KW9KSa192dn0Y2Y4h+1ED+cuFBBWuXsl5hNpVEyW2fU2MkaXUOLPGex6A1nRI/Vv
-cLtrlnw+Adtf6Ia1FB0tnDvtZJ8Ud9OsRPY+Lw6ksWRq0tqOO1UArQ3s2aV9iyFU
-F+7dGr6aIPYhmDnJPEheWSNiMKflyseJB1G3c3vEonHWQYczEnmdvMolQNDzhivh
-P/tv+zmrcLq65vilu5RwuAAaXx9yZy/s8m7SsmDNomeAGK7tvFto3Y1Y0C0H33lp
-Gpb11FnjInbxAzKyWY7zB6nhoSg/UgivHKXncYca/ejQhm3RTbynCWuHM861HYRv
-nWFX1fhxJMX45cSWl5rQiOGHof/0PQEn720ODEcRnGDC5rDKL7B2BLEI7BYMTsV7
-2ka9v8cIJyBi+EWr3GP95P/E/xMGbFE4N7/bQwGC+9Oxhc2RSTjyHMT5fVMyrQqw
-YREOS/k/aGQj9yF1EBjG3s0hHL2npcrGGcog9cY4vTyCXhwZKiOcoRlThy6b6DJx
-/+uByHIc2u8EKc/UQ3pISsnzTCrNOess5d/KizR6WVgPX/8zhnG/fGXYJujVKcan
-UTAnpICWeah16jG8RZ/E
-=jDW/
------END PGP SIGNATURE-----
diff --git a/dev-libs/dietlibc/dietlibc-0.28.ebuild b/dev-libs/dietlibc/dietlibc-0.28.ebuild
deleted file mode 100644
index 5d556d1063f2..000000000000
--- a/dev-libs/dietlibc/dietlibc-0.28.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.28.ebuild,v 1.13 2011/11/20 09:20:49 xarthisius 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 sparc x86"
-IUSE="debug"
-
-DEPEND=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/0.24-dirent-prototype.patch
- 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 not 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"
- 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.30.ebuild b/dev-libs/dietlibc/dietlibc-0.30.ebuild
deleted file mode 100644
index 5dbfa50e06f8..000000000000
--- a/dev-libs/dietlibc/dietlibc-0.30.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.30.ebuild,v 1.6 2011/11/20 09:20:49 xarthisius 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/${P}-patches-${PR}.tar.bz2
- http://dev.gentoo.org/~hollow/distfiles/${P}-patches-${PR}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~hppa ~mips 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
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${WORKDIR}"/patches/*.patch
-}
-
-src_compile() {
- local my_cflags="${CFLAGS} -fno-pie"
- use debug && my_cflags="${my_cflags} -g"
- make CFLAGS="${my_cflags}" || die "make failed"
-}
-
-src_install() {
- make 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/dietlibc-0.33_pre20100626.ebuild b/dev-libs/dietlibc/dietlibc-0.33_pre20100626.ebuild
deleted file mode 100644
index 757ed5c06893..000000000000
--- a/dev-libs/dietlibc/dietlibc-0.33_pre20100626.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20100626.ebuild,v 1.3 2011/11/20 09:20:49 xarthisius Exp $
-
-inherit eutils flag-o-matic toolchain-funcs
-
-DESCRIPTION="A minimal libc"
-HOMEPAGE="http://www.fefe.de/dietlibc/"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~sparc ~x86"
-IUSE="debug"
-
-DEPEND=""
-RDEPEND=""
-
-DIETHOME=/usr/diet
-
-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
-
- # Makefile does not append CFLAGS
- append-flags -nostdinc -W -Wall -Wextra -Wchar-subscripts \
- -Wmissing-prototypes -Wmissing-declarations -Wno-switch \
- -Wno-unused -Wredundant-decls
-
- # only use -nopie on archs that support it
- gcc-specs-pie && append-flags -nopie
-}
-
-src_compile() {
- emake prefix=${DIETHOME} CC="$(tc-getCC)" CFLAGS="${CFLAGS}" -j1 || die "make failed"
-}
-
-src_install() {
- emake prefix=${DIETHOME} DESTDIR="${D}" -j1 install || die "make install failed"
- dobin "${D}"${DIETHOME}/bin/* || die "dobin failed"
- doman "${D}"${DIETHOME}/man/*/* || die "doman failed"
- rm -r "${D}"${DIETHOME}/{man,bin}
- dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING
-}
diff --git a/dev-libs/dietlibc/files/0.24-dirent-prototype.patch b/dev-libs/dietlibc/files/0.24-dirent-prototype.patch
deleted file mode 100644
index 0beeb363b1ac..000000000000
--- a/dev-libs/dietlibc/files/0.24-dirent-prototype.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Nru dietlibc-0.23.orig/include/dirent.h dietlibc-0.23/include/dirent.h
---- dietlibc-0.23.orig/include/dirent.h 2003-08-19 12:22:52.000000000 -0400
-+++ dietlibc-0.23/include/dirent.h 2003-09-12 20:40:03.000000000 -0400
-@@ -37,8 +37,8 @@
- struct dirent *readdir (DIR *__dirp) __THROW;
- struct dirent64 *readdir64 (DIR *__dirp) __THROW;
- void rewinddir (DIR *__dirp) __THROW;
--void seekdir (DIR *__dirp, long int __pos) __THROW;
--long int telldir (DIR *__dirp) __THROW;
-+void seekdir (DIR *__dirp, off_t __pos) __THROW;
-+off_t telldir (DIR *__dirp) __THROW;
-
- int scandir(const char *dir, struct dirent ***namelist,
- int (*selection)(const struct dirent *),
diff --git a/dev-libs/dietlibc/files/dietlibc-0.26-ssp.patch b/dev-libs/dietlibc/files/dietlibc-0.26-ssp.patch
deleted file mode 100644
index 98b2be1f7eb0..000000000000
--- a/dev-libs/dietlibc/files/dietlibc-0.26-ssp.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-diff -Nrup dietlibc-0.26.orig/i386/start.S dietlibc-0.26/i386/start.S
---- dietlibc-0.26.orig/i386/start.S 2003-04-17 09:55:39.000000000 -0400
-+++ dietlibc-0.26/i386/start.S 2004-08-07 18:50:52.000000000 -0400
-@@ -50,7 +50,9 @@ _start:
- PUT_VAR %edi, __vsyscall, %edx
- 1:
- #endif
--
-+#ifdef __dietlibc__
-+ call __guard_setup
-+#endif
- #ifdef WANT_DYNAMIC
- call _dyn_start
- #else
-diff -Nrup dietlibc-0.26.orig/sparc/start.S dietlibc-0.26/sparc/start.S
---- dietlibc-0.26.orig/sparc/start.S 2003-08-22 08:16:23.000000000 -0400
-+++ dietlibc-0.26/sparc/start.S 2004-08-07 18:55:26.000000000 -0400
-@@ -29,6 +29,9 @@ _start:
- be NULL. */
-
- /* Let libc do the rest of the initialization, and call main. */
-+#if 0 /* FIXME: __dietlibc__ */
-+ call __guard_setup
-+#endif
- #ifdef WANT_DYNAMIC
- call dyn_start
- #else
-diff -Nrup dietlibc-0.26.orig/sparc64/start.S dietlibc-0.26/sparc64/start.S
---- dietlibc-0.26.orig/sparc64/start.S 2003-08-22 08:16:23.000000000 -0400
-+++ dietlibc-0.26/sparc64/start.S 2004-08-07 18:55:36.000000000 -0400
-@@ -29,6 +29,9 @@ _start:
- be NULL. */
-
- /* Let libc do the rest of the initialization, and call main. */
-+#if 0 /* FIXME: __dietlibc__ */
-+ call __guard_setup
-+#endif
- #ifdef WANT_DYNAMIC
- call dyn_start
- #else
-diff -Nrup dietlibc-0.26.orig/x86_64/start.S dietlibc-0.26/x86_64/start.S
---- dietlibc-0.26.orig/x86_64/start.S 2003-02-05 09:29:19.000000000 -0500
-+++ dietlibc-0.26/x86_64/start.S 2004-08-07 18:52:39.000000000 -0400
-@@ -35,6 +35,10 @@ _start:
- popq %rdi
- #endif
-
-+#if 0 /* FIXME: __dietlibc__ */
-+ call __guard_setup
-+#endif
-+
- #ifdef WANT_DYNAMIC
- call _dyn_start
- #else
diff --git a/dev-libs/dietlibc/files/dietlibc-0.28-Makefile.patch b/dev-libs/dietlibc/files/dietlibc-0.28-Makefile.patch
deleted file mode 100644
index 7a0eb0028a30..000000000000
--- a/dev-libs/dietlibc/files/dietlibc-0.28-Makefile.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- Makefile
-+++ Makefile
-@@ -1,5 +1,5 @@
- INSTALL=install
--prefix?=/opt/diet
-+prefix=/usr/diet
- # Set the following to install to a different root
- #DESTDIR=/tmp/fefix
- # Use "make DEBUG=1" to compile a debug version.
-@@ -95,7 +95,6 @@
-
- profiling: $(OBJDIR)/libgmon.a $(OBJDIR)/pstart.o
-
--CFLAGS=-pipe -nostdinc
- CROSS=
-
- CC=gcc
-@@ -126,10 +125,6 @@
-
- LIBMATHOBJ=$(patsubst %,$(OBJDIR)/%,$(LIBMATH))
-
--ifeq ($(CFLAGS),-pipe -nostdinc)
--CFLAGS+=-O -fomit-frame-pointer
--endif
--
- ifneq ($(DEBUG),)
- CFLAGS = -g
- COMMENT = :
diff --git a/dev-libs/dietlibc/files/dietlibc-sparc64-makefile.patch b/dev-libs/dietlibc/files/dietlibc-sparc64-makefile.patch
deleted file mode 100644
index d72015214267..000000000000
--- a/dev-libs/dietlibc/files/dietlibc-sparc64-makefile.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig 2004-03-25 08:24:20.420425000 -0700
-+++ Makefile 2004-03-25 08:27:02.730425000 -0700
-@@ -8,7 +8,7 @@
- BINDIR=${prefix}/bin
- MAN1DIR=${prefix}/man/man1
-
--MYARCH:=$(shell uname -m | sed -e 's/i[4-9]86/i386/' -e 's/armv[3-6][lb]/arm/')
-+MYARCH:=$(shell uname -m | sed -e 's/i[4-9]86/i386/' -e 's/armv[3-6][lb]/arm/' -e 's/sparc64/sparc/')
-
- # This extra-ugly cruft is here so make will not run uname and sed each
- # time it looks at $(OBJDIR). This alone sped up running make when
diff --git a/dev-libs/dietlibc/files/gcc-33-r3.patch b/dev-libs/dietlibc/files/gcc-33-r3.patch
deleted file mode 100644
index 1ccc1d4a98ff..000000000000
--- a/dev-libs/dietlibc/files/gcc-33-r3.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- diet.c
-+++ diet.c
-@@ -26,8 +26,13 @@
-
- static const char* Os[] = {
- "i386","-Os","-mpreferred-stack-boundary=2",
-+#if __GNUC__ >= 3
-+ "-falign-functions=1","-falign-jumps=1",
-+ "-falign-loops=1","-fomit-frame-pointer",0,
-+#else
- "-malign-functions=1","-malign-jumps=1",
- "-malign-loops=1","-fomit-frame-pointer",0,
-+#endif
- "x86_64","-Os","-fno-omit-frame-pointer",0,
- "sparc","-Os","-mcpu=supersparc",0,
- "sparc64","-Os","-m64",0,
diff --git a/dev-libs/dietlibc/files/ssp.c b/dev-libs/dietlibc/files/ssp.c
deleted file mode 100644
index 18d16fec4609..000000000000
--- a/dev-libs/dietlibc/files/ssp.c
+++ /dev/null
@@ -1,129 +0,0 @@
-/*
- * Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/files/ssp.c,v 1.2 2004/12/05 19:25:40 solar Exp $
- *
- * This is a modified version of Hiroaki Etoh's stack smashing routines
- * implemented for glibc.
- *
- * The following people have contributed input to this code.
- * Ned Ludd - <solar[@]gentoo.org>
- * Alexander Gabert - <pappy[@]gentoo.org>
- * The PaX Team - <pageexec[@]freemail.hu>
- * Peter S. Mazinger - <ps.m[@]gmx.net>
- * Yoann Vandoorselaere - <yoann[@]prelude-ids.org>
- * Robert Connolly - <robert[@]linuxfromscratch.org>
- * Cory Visi <cory@visi.name>
- *
- */
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#include <stdio.h>
-#include <string.h>
-#include <fcntl.h>
-#include <unistd.h>
-#include <signal.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <sys/un.h>
-#include <sys/time.h>
-
-#ifdef __PROPOLICE_BLOCK_SEGV__
-#define SSP_SIGTYPE SIGSEGV
-#elif __PROPOLICE_BLOCK_KILL__
-#define SSP_SIGTYPE SIGKILL
-#else
-#define SSP_SIGTYPE SIGABRT
-#endif
-
-unsigned long __guard = 0UL;
-
-void
-__guard_setup (void)
-{
- size_t size;
- if (__guard != 0UL)
- return;
-
-#ifndef __SSP_QUICK_CANARY__
- /*
- * Attempt to open kernel pseudo random device if one exists before
- * opening urandom to avoid system entropy depletion.
- */
- {
- int fd;
-#ifdef HAVE_DEV_ERANDOM
- if ((fd = open ("/dev/erandom", O_RDONLY)) == (-1))
-#endif
- fd = open ("/dev/urandom", O_RDONLY);
- if (fd != (-1))
- {
- size = read (fd, (char *) &__guard, sizeof (__guard));
- close (fd);
- if (size == sizeof (__guard))
- return;
- }
- }
-#endif
-
- /* If sysctl was unsuccessful, use the "terminator canary". */
- __guard = 0xFF0A0D00UL;
-
- {
- /* Everything failed? Or we are using a weakened model of the
- * terminator canary */
- struct timeval tv;
-
- gettimeofday (&tv, NULL);
- __guard ^= tv.tv_usec ^ tv.tv_sec;
- }
-}
-
-void
-__stack_smash_handler (char func[], int damaged)
-{
- struct sigaction sa;
- const char message[] = ": stack smashing attack in function ";
- int bufsz, len;
- char buf[512];
- static char *__progname = "dietapp";
-
- sigset_t mask;
- sigfillset (&mask);
-
- sigdelset (&mask, SSP_SIGTYPE); /* Block all signal handlers */
- sigprocmask (SIG_BLOCK, &mask, NULL); /* except SIGABRT */
-
- bufsz = sizeof (buf);
- strcpy (buf, "<2>");
- len = 3;
-
- strncat (buf, __progname, sizeof (buf) - 4);
- len = strlen (buf);
-
- if (bufsz > len)
- {
- strncat (buf, message, bufsz - len - 1);
- len = strlen (buf);
- }
- if (bufsz > len)
- {
- strncat (buf, func, bufsz - len - 1);
- len = strlen (buf);
- }
-
- /* print error message */
- write (STDERR_FILENO, buf + 3, len - 3);
- write (STDERR_FILENO, "()\n", 3);
-
- /* Make sure the default handler is associated with the our signal handler */
- memset (&sa, 0, sizeof (struct sigaction));
- sigfillset (&sa.sa_mask); /* Block all signals */
- sa.sa_flags = 0;
- sa.sa_handler = SIG_DFL;
- sigaction (SSP_SIGTYPE, &sa, NULL);
- (void) kill (getpid (), SSP_SIGTYPE);
- _exit (127);
-}