diff options
author | Ned Ludd <solar@gentoo.org> | 2003-09-13 01:07:16 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2003-09-13 01:07:16 +0000 |
commit | 19066d5e3eda88f42c9a68fd6aeb309b35a35403 (patch) | |
tree | 2a0a1067d2779b16e288145194142ed00eaed4ac /dev-libs/dietlibc | |
parent | version bump, this release fixes a ton of outstanding bugs upstream. seems th... (diff) | |
download | historical-19066d5e3eda88f42c9a68fd6aeb309b35a35403.tar.gz historical-19066d5e3eda88f42c9a68fd6aeb309b35a35403.tar.bz2 historical-19066d5e3eda88f42c9a68fd6aeb309b35a35403.zip |
version bump, this release fixes a ton of outstanding bugs upstream. seems the dirent patch never made it's way back to fefe.de, new gentoo dirent patch created to keep offsets happy.
Diffstat (limited to 'dev-libs/dietlibc')
-rw-r--r-- | dev-libs/dietlibc/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/dietlibc/dietlibc-0.23.ebuild | 44 | ||||
-rw-r--r-- | dev-libs/dietlibc/files/0.23-dirent-prototype.patch | 14 | ||||
-rw-r--r-- | dev-libs/dietlibc/files/digest-dietlibc-0.23 | 1 |
4 files changed, 62 insertions, 2 deletions
diff --git a/dev-libs/dietlibc/Manifest b/dev-libs/dietlibc/Manifest index 6f2dca32db68..3ba7da7a48cf 100644 --- a/dev-libs/dietlibc/Manifest +++ b/dev-libs/dietlibc/Manifest @@ -1,7 +1,8 @@ -MD5 0244c91c5876fc4c4155ff0664ee1b2e ChangeLog 1938 +MD5 89dc405d36d3039371c6573b48000f00 ChangeLog 2251 MD5 d72aa4b738941cbfa5502aa76ad98f5c dietlibc-0.22-r2.ebuild 1252 -MD5 d72aa4b738941cbfa5502aa76ad98f5c dietlibc-0.23.ebuild 1252 +MD5 3ffb079e5404553914af7618eccce9f6 dietlibc-0.23.ebuild 1205 MD5 e33c0d8f3c56f85d1caa98118824fceb files/0.22-dirent-prototype.patch 563 MD5 67b93dd4033c0e66d42b6bade33c73fc files/dietlibc-0.22_xdr_security_fix.patch 5566 MD5 2644f8611fcb7a147ec9ef76eaf5992a files/digest-dietlibc-0.22-r2 66 MD5 b06d21ffc62c7a660a29351e55213a0b files/digest-dietlibc-0.23 66 +MD5 2d0f660abd258d75417ef8abd8ab5eb7 files/0.23-dirent-prototype.patch 668 diff --git a/dev-libs/dietlibc/dietlibc-0.23.ebuild b/dev-libs/dietlibc/dietlibc-0.23.ebuild new file mode 100644 index 000000000000..30dc3a57f807 --- /dev/null +++ b/dev-libs/dietlibc/dietlibc-0.23.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.23.ebuild,v 1.1 2003/09/13 01:07:13 solar Exp $ + +inherit eutils flag-o-matic +filter-flags "-fstack-protector" + +DESCRIPTION="A minimal libc" +SRC_URI="mirror://kernel/linux/libs/${PN}/${P}.tar.bz2" +HOMEPAGE="http://www.fefe.de/dietlibc/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~sparc ~hppa ~amd64 ~alpha" + +src_unpack() { + unpack ${A} ; cd ${S} + + epatch ${FILESDIR}/${PV}-dirent-prototype.patch + + mv Makefile Makefile.orig + sed -e "s:^CFLAGS.*:CFLAGS = ${CFLAGS}:" \ + -e "s:^prefix.*:prefix=/usr/diet:" \ + -e "s:^#DESTDIR=/tmp/fef.*:DESTDIR=${D}:" \ + Makefile.orig > Makefile + # does not say anything about this in the install docs - uncommenting (Thilo) + #mkdir ${S}/include/asm + #cp /usr/include/asm/posix_types.h ${S}/include/asm +} + +src_compile() { + emake || die +} + +src_install() { + make install || die + + exeinto /usr/bin +# newexe bin-i386/diet-i diet + newexe bin-$(uname -m | sed -e 's/i[4-9]86/i386/' -e 's/armv[3-6][lb]/arm/')/diet-i diet + + doman diet.1 + dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING +} diff --git a/dev-libs/dietlibc/files/0.23-dirent-prototype.patch b/dev-libs/dietlibc/files/0.23-dirent-prototype.patch new file mode 100644 index 000000000000..0beeb363b1ac --- /dev/null +++ b/dev-libs/dietlibc/files/0.23-dirent-prototype.patch @@ -0,0 +1,14 @@ +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/digest-dietlibc-0.23 b/dev-libs/dietlibc/files/digest-dietlibc-0.23 new file mode 100644 index 000000000000..826eec241de3 --- /dev/null +++ b/dev-libs/dietlibc/files/digest-dietlibc-0.23 @@ -0,0 +1 @@ +MD5 6db6a89785f079a51bf6d93f618ceee8 dietlibc-0.23.tar.bz2 457861 |