diff options
-rw-r--r-- | coda/sys-libs/lwp/Manifest | 3 | ||||
-rw-r--r-- | coda/sys-libs/lwp/files/lwp-2.0-amd64.patch | 28 | ||||
-rw-r--r-- | coda/sys-libs/lwp/lwp-2.2.ebuild | 33 | ||||
-rw-r--r-- | coda/sys-libs/lwp/lwp-2.4.ebuild | 25 |
4 files changed, 28 insertions, 61 deletions
diff --git a/coda/sys-libs/lwp/Manifest b/coda/sys-libs/lwp/Manifest new file mode 100644 index 0000000..1c4509a --- /dev/null +++ b/coda/sys-libs/lwp/Manifest @@ -0,0 +1,3 @@ +DIST lwp-2.4.tar.gz 386511 RMD160 963786da9e39ad2182df3994ff8b4050f30d4cd6 SHA1 c15064a9b5991db14cd00ea0bd8528559a28f57b SHA256 2905ea436d6a9bdd18487e05e2cd253d49d98ec18c662a45310b3a2d913b76c9 +EBUILD lwp-2.4.ebuild 612 RMD160 edd2f2d65ccb6d52e7a8efb54b8923a47400f38b SHA1 becd27ea2b057b8f5ca67dfbb0ea908fee6f9664 SHA256 18a42f34299e39f11656ade317d5fc75e178208ac5fce74b3e4e3dd903229504 +MISC metadata.xml 250 RMD160 6aa4816072481129f87c0eb8a85c6a15287da965 SHA1 a8f9a0fb13692c19c95e700e32796c147c6c7804 SHA256 1ed32cc76b9bd8664c2bfd7d84f4186b444d5d39659b40523d0bc27e0ebb9846 diff --git a/coda/sys-libs/lwp/files/lwp-2.0-amd64.patch b/coda/sys-libs/lwp/files/lwp-2.0-amd64.patch deleted file mode 100644 index 64a1576..0000000 --- a/coda/sys-libs/lwp/files/lwp-2.0-amd64.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -ruN lwp-2.0/src/lwp.c lwp-2.0-fixed/src/lwp.c ---- lwp-2.0/src/lwp.c 2005-03-25 17:50:56.000000000 +0100 -+++ lwp-2.0-fixed/src/lwp.c 2005-05-05 14:32:56.580753096 +0200 -@@ -463,6 +463,16 @@ - #ifndef MMAP_LWP_STACKS - stackptr = (char *) malloc(stacksize); - #else -+ pagesize = getpagesize(); -+ -+#if defined(__x86_64__) -+ /* [gb] Ensure minimal stack size. Heuristically determined -+ through tdb test that 2048 is too small when printf() et al. come -+ into action. */ -+ if (stacksize < pagesize) -+ stacksize = pagesize; -+#endif -+ - #ifdef MAP_ANON - stackptr = mmap(lwp_stackbase, stacksize, PROT_READ | PROT_WRITE, - MAP_PRIVATE | MAP_ANON, -1, 0); -@@ -483,7 +493,6 @@ - perror("stack: "); - assert(0); - } -- pagesize = getpagesize(); - lwp_stackbase += ((stacksize/pagesize) + 2) * pagesize; - #endif - if (!stackptr) diff --git a/coda/sys-libs/lwp/lwp-2.2.ebuild b/coda/sys-libs/lwp/lwp-2.2.ebuild deleted file mode 100644 index fb08e58..0000000 --- a/coda/sys-libs/lwp/lwp-2.2.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/lwp/lwp-2.2.ebuild,v 1.8 2007/11/26 13:14:05 corsair Exp $ - -inherit eutils - -DESCRIPTION="Light weight process library (used by Coda). This is NOT libwww-perl." -HOMEPAGE="http://www.coda.cs.cmu.edu/" -SRC_URI="http://www.coda.cs.cmu.edu/pub/lwp/src/${P}.tar.gz" - -SLOT="1" -LICENSE="LGPL-2.1" -KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ppc64 sparc x86" -IUSE="" - -DEPEND="sys-apps/grep - sys-apps/sed - sys-devel/libtool - sys-devel/gcc" -RDEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}" - - # Was introduced for bug #34542, not sure if still needed - use amd64 && epatch "${FILESDIR}"/lwp-2.0-amd64.patch -} - -src_install() { - einstall || die "einstall failed." - dodoc AUTHORS NEWS PORTING README -} diff --git a/coda/sys-libs/lwp/lwp-2.4.ebuild b/coda/sys-libs/lwp/lwp-2.4.ebuild new file mode 100644 index 0000000..123ee39 --- /dev/null +++ b/coda/sys-libs/lwp/lwp-2.4.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit autotools + +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +DESCRIPTION="Lightweight process library (used by Coda). This is NOT libwww-perl." +HOMEPAGE="http://www.coda.cs.cmu.edu/" +SRC_URI="http://www.coda.cs.cmu.edu/pub/${PN}/src/${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS NEWS PORTING README +} |