summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice van der Pot <griffon26@gentoo.org>2005-05-05 13:18:20 +0000
committerMaurice van der Pot <griffon26@gentoo.org>2005-05-05 13:18:20 +0000
commit813ab86d249313d91581a5dc0e50774dd97734ac (patch)
treefeb427fa831ccc288f68c6779771c270ab9b878f /sys-libs
parentAdded to ~hppa. (diff)
downloadgentoo-2-813ab86d249313d91581a5dc0e50774dd97734ac.tar.gz
gentoo-2-813ab86d249313d91581a5dc0e50774dd97734ac.tar.bz2
gentoo-2-813ab86d249313d91581a5dc0e50774dd97734ac.zip
Added lwp-2.0 for new coda-6.0.10
(Portage version: 2.0.51.20-r5)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/lwp/ChangeLog8
-rw-r--r--sys-libs/lwp/Manifest17
-rw-r--r--sys-libs/lwp/files/digest-lwp-2.01
-rw-r--r--sys-libs/lwp/files/lwp-2.0-amd64.patch28
-rw-r--r--sys-libs/lwp/lwp-2.0.ebuild35
5 files changed, 81 insertions, 8 deletions
diff --git a/sys-libs/lwp/ChangeLog b/sys-libs/lwp/ChangeLog
index 1301eeded095..037919c2489a 100644
--- a/sys-libs/lwp/ChangeLog
+++ b/sys-libs/lwp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/lwp
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/lwp/ChangeLog,v 1.20 2005/04/20 21:48:10 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/lwp/ChangeLog,v 1.21 2005/05/05 13:18:20 griffon26 Exp $
+
+*lwp-2.0 (05 May 2005)
+
+ 05 May 2005; Maurice van der Pot <griffon26@gentoo.org>
+ +files/lwp-2.0-amd64.patch, +lwp-2.0.ebuild:
+ Added new release and updated amd64 patch.
20 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> lwp-1.12.ebuild:
Stable on ppc.
diff --git a/sys-libs/lwp/Manifest b/sys-libs/lwp/Manifest
index e349e10affe7..056457a7f18a 100644
--- a/sys-libs/lwp/Manifest
+++ b/sys-libs/lwp/Manifest
@@ -1,11 +1,14 @@
-MD5 04f0b34a97ae2fedca2e2290aab918d0 lwp-1.10.ebuild 705
-MD5 4b76eba5d89a67626c583566773d4005 lwp-1.12.ebuild 793
-MD5 1760dd151f06d781397dc40f2bb5db8c lwp-1.9.ebuild 834
MD5 fdd307ea78fc900a01e57b8151f34d4e metadata.xml 224
-MD5 a760fcd055e70dca86b4ee3a177bd3b5 ChangeLog 2290
+MD5 1760dd151f06d781397dc40f2bb5db8c lwp-1.9.ebuild 834
+MD5 04f0b34a97ae2fedca2e2290aab918d0 lwp-1.10.ebuild 705
MD5 252756174df7a61e0de2e9d7d2206ef0 lwp-1.11.ebuild 795
-MD5 642fb581dc4613a8c351d35ddfbfeaaf files/lwp-1.10-amd64.patch 1929
-MD5 34a83e1b814b348b742cc8eb36f13130 files/digest-lwp-1.9 59
-MD5 03ac15a8c125277e302e9cf95873de89 files/digest-lwp-1.12 60
+MD5 4b76eba5d89a67626c583566773d4005 lwp-1.12.ebuild 793
+MD5 f00ef95909b5f50a1cccd8e2eed04a2e ChangeLog 2602
+MD5 ca4bfe659416ff16e8514167e8e909ce lwp-2.0.ebuild 844
MD5 6351dda3b3e5484743b2295bf48f09ad files/digest-lwp-1.10 60
MD5 5cf57b4af284d9d1052f4ca91f5422f2 files/digest-lwp-1.11 60
+MD5 34a83e1b814b348b742cc8eb36f13130 files/digest-lwp-1.9 59
+MD5 642fb581dc4613a8c351d35ddfbfeaaf files/lwp-1.10-amd64.patch 1929
+MD5 03ac15a8c125277e302e9cf95873de89 files/digest-lwp-1.12 60
+MD5 30ec12e50fe24609f01a4b5887448a42 files/digest-lwp-2.0 59
+MD5 147bcbca707eadf9faeea72963a197e1 files/lwp-2.0-amd64.patch 866
diff --git a/sys-libs/lwp/files/digest-lwp-2.0 b/sys-libs/lwp/files/digest-lwp-2.0
new file mode 100644
index 000000000000..bf1ab02f978c
--- /dev/null
+++ b/sys-libs/lwp/files/digest-lwp-2.0
@@ -0,0 +1 @@
+MD5 44c829fc07be7f43f2de80d05133ba25 lwp-2.0.tar.gz 362141
diff --git a/sys-libs/lwp/files/lwp-2.0-amd64.patch b/sys-libs/lwp/files/lwp-2.0-amd64.patch
new file mode 100644
index 000000000000..64a1576f0894
--- /dev/null
+++ b/sys-libs/lwp/files/lwp-2.0-amd64.patch
@@ -0,0 +1,28 @@
+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/sys-libs/lwp/lwp-2.0.ebuild b/sys-libs/lwp/lwp-2.0.ebuild
new file mode 100644
index 000000000000..5289c3925d3f
--- /dev/null
+++ b/sys-libs/lwp/lwp-2.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/lwp/lwp-2.0.ebuild,v 1.1 2005/05/05 13:18:20 griffon26 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="ftp://ftp.coda.cs.cmu.edu/pub/lwp/src/${P}.tar.gz"
+
+SLOT="1"
+LICENSE="LGPL-2.1"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~amd64 ~ia64"
+IUSE=""
+
+DEPEND="virtual/libc
+ sys-apps/grep
+ sys-apps/sed
+ sys-devel/libtool
+ sys-devel/gcc"
+
+RDEPEND="virtual/libc"
+
+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
+
+ dodoc AUTHORS NEWS PORTING README
+}