summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Groesslinger <scandium@gentoo.org>2004-01-25 16:43:03 +0000
committerRainer Groesslinger <scandium@gentoo.org>2004-01-25 16:43:03 +0000
commit83fb5300e1a80c827e52bc35db044792d931deef (patch)
tree59de20eb91804562ad7bc17308d98047309654ca /dev-dotnet/pnet
parentStable on sparc. (diff)
downloadhistorical-83fb5300e1a80c827e52bc35db044792d931deef.tar.gz
historical-83fb5300e1a80c827e52bc35db044792d931deef.tar.bz2
historical-83fb5300e1a80c827e52bc35db044792d931deef.zip
Added a small patch to fix compilation on system which have nptl built into glibc (bug #37219)
Diffstat (limited to 'dev-dotnet/pnet')
-rw-r--r--dev-dotnet/pnet/ChangeLog7
-rw-r--r--dev-dotnet/pnet/Manifest5
-rw-r--r--dev-dotnet/pnet/files/pt_defs.h.diff15
-rw-r--r--dev-dotnet/pnet/pnet-0.6.2.ebuild11
4 files changed, 34 insertions, 4 deletions
diff --git a/dev-dotnet/pnet/ChangeLog b/dev-dotnet/pnet/ChangeLog
index f20252023cc0..707b198f7c95 100644
--- a/dev-dotnet/pnet/ChangeLog
+++ b/dev-dotnet/pnet/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-dotnet/pnet
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pnet/ChangeLog,v 1.9 2004/01/03 23:17:04 scandium Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pnet/ChangeLog,v 1.10 2004/01/25 16:42:53 scandium Exp $
+
+ 25 Jan 2004; Rainer Groesslinger <scandium@gentoo.org> pnet-0.6.2.ebuild,
+ files/pt_defs.h.diff:
+ Added a small patch to fix compilation on system which have nptl built into
+ glibc (bug #37219)
*pnet-0.6.2 (03 Jan 2004)
diff --git a/dev-dotnet/pnet/Manifest b/dev-dotnet/pnet/Manifest
index eab8810fcf59..b140903ddd6b 100644
--- a/dev-dotnet/pnet/Manifest
+++ b/dev-dotnet/pnet/Manifest
@@ -1,8 +1,9 @@
MD5 ee2cdb97ce730d8e39835b38756066a5 pnet-0.6.0.ebuild 1083
-MD5 088de02bee86fbecf70586b5ee5bf63e pnet-0.6.2.ebuild 1086
+MD5 e7330d0bbcedf643cb6f8822be87dc3a pnet-0.6.2.ebuild 1261
MD5 cc75a781e0cda40c2c28e9f06afb3092 pnet-0.5.12.ebuild 1078
-MD5 3b165ff0efb95eb6b5686fb48d23b778 ChangeLog 2331
+MD5 a51744bce47b2ea6d158e7d6ae475809 ChangeLog 2532
MD5 76b314cc7b7b79b298dd4889dff8c9cd metadata.xml 159
MD5 f5117bd09af5c6f31ae9fa7c09104a92 files/digest-pnet-0.5.12 64
+MD5 0bfa69904e89a5894340828f21a85212 files/pt_defs.h.diff 371
MD5 605582a057b2b8e5eae0a278875ee772 files/digest-pnet-0.6.0 63
MD5 2ecb7e23d0c656c909f5069a48ce6ae4 files/digest-pnet-0.6.2 63
diff --git a/dev-dotnet/pnet/files/pt_defs.h.diff b/dev-dotnet/pnet/files/pt_defs.h.diff
new file mode 100644
index 000000000000..aef2722afba0
--- /dev/null
+++ b/dev-dotnet/pnet/files/pt_defs.h.diff
@@ -0,0 +1,15 @@
+--- support/pt_defs.h 2002-06-27 06:49:26.000000000 +0200
++++ support/pt_defs.h 2004-01-06 01:32:05.224303072 +0100
+@@ -69,12 +69,6 @@
+ #define PTHREAD_SIG_CANCEL (__SIGRTMIN+1)
+ #endif
+
+-/*
+- * Determine if we have read-write lock support in pthreads.
+- */
+-#ifdef PTHREAD_RWLOCK_INITIALIZER
+- #define IL_HAVE_RWLOCKS
+-#endif
+
+ /*
+ * Types that are needed elsewhere.
diff --git a/dev-dotnet/pnet/pnet-0.6.2.ebuild b/dev-dotnet/pnet/pnet-0.6.2.ebuild
index 4d73f7357643..e06c8f0871d0 100644
--- a/dev-dotnet/pnet/pnet-0.6.2.ebuild
+++ b/dev-dotnet/pnet/pnet-0.6.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pnet/pnet-0.6.2.ebuild,v 1.1 2004/01/03 23:17:04 scandium Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pnet/pnet-0.6.2.ebuild,v 1.2 2004/01/25 16:42:53 scandium Exp $
DESCRIPTION="Portable .NET runtime, compiler, tools"
HOMEPAGE="http://www.dotgnu.org/"
@@ -15,6 +15,15 @@ IUSE=""
DEPEND=">=dev-util/treecc-0.2.8
!dev-dotnet/mono"
+src_unpack() {
+ # Small patch to fix compilation on system which have nptl built into glibc
+ unpack ${A}
+ cd ${S}
+ if use nptl; then
+ epatch ${FILESDIR}/pt_defs.h.diff
+ fi
+}
+
src_compile() {
econf || die
MAKEOPTS="${MAKEOPTS} -j1" emake || die