summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Groesslinger <scandium@gentoo.org>2003-08-13 10:58:51 +0000
committerRainer Groesslinger <scandium@gentoo.org>2003-08-13 10:58:51 +0000
commit2e30f74f39b9ba60acf673873e47b3f57f748bd9 (patch)
tree8ecd8617b92935b0a3c37de2714adde37c04f910 /dev-dotnet
parentebuild clean up (diff)
downloadhistorical-2e30f74f39b9ba60acf673873e47b3f57f748bd9.tar.gz
historical-2e30f74f39b9ba60acf673873e47b3f57f748bd9.tar.bz2
historical-2e30f74f39b9ba60acf673873e47b3f57f748bd9.zip
add md5hash patch which fixes compilation of pnetc
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/pnet/Manifest9
-rw-r--r--dev-dotnet/pnet/files/md5hash.patch11
-rw-r--r--dev-dotnet/pnet/pnet-0.5.10.ebuild12
3 files changed, 27 insertions, 5 deletions
diff --git a/dev-dotnet/pnet/Manifest b/dev-dotnet/pnet/Manifest
index 51ef5524e525..99549ba5d91b 100644
--- a/dev-dotnet/pnet/Manifest
+++ b/dev-dotnet/pnet/Manifest
@@ -1,6 +1,7 @@
-MD5 20d51bf0f83f00c6213ed682f0b9a11e files/digest-pnet-0.5.8 63
-MD5 c8abfdfc7446af7bdf4705b10783b1ea files/digest-pnet-0.5.10 64
+MD5 8227f5ca94291f9f7810b757de65e2dc ChangeLog 1433
MD5 76b314cc7b7b79b298dd4889dff8c9cd metadata.xml 159
MD5 c76b1ab207697898847466fbf59b8306 pnet-0.5.8.ebuild 1029
-MD5 8227f5ca94291f9f7810b757de65e2dc ChangeLog 1433
-MD5 5412f52d236a897d2f73d0605d32f57a pnet-0.5.10.ebuild 1031
+MD5 07747dd2a8fbfeb8146bd3c9ff29254d pnet-0.5.10.ebuild 1173
+MD5 44ade6d192850bb87b1da250eddd2cf7 files/md5hash.patch 319
+MD5 20d51bf0f83f00c6213ed682f0b9a11e files/digest-pnet-0.5.8 63
+MD5 c8abfdfc7446af7bdf4705b10783b1ea files/digest-pnet-0.5.10 64
diff --git a/dev-dotnet/pnet/files/md5hash.patch b/dev-dotnet/pnet/files/md5hash.patch
new file mode 100644
index 000000000000..ef0055b3b08a
--- /dev/null
+++ b/dev-dotnet/pnet/files/md5hash.patch
@@ -0,0 +1,11 @@
+--- cscc/c/c_types.c 2003/06/28 05:28:47 1.36
++++ cscc/c/c_types.c 2003/08/11 06:55:04 1.37
+@@ -1164,7 +1164,7 @@
+ if(ILType_IsPrimitive(type))
+ {
+ /* Hash a primitive type */
+- MD5HashAddChar(md5, ILType_ToElement(md5));
++ MD5HashAddChar(md5, ILType_ToElement(type));
+ }
+ else if(ILType_IsValueType(type))
+ {
diff --git a/dev-dotnet/pnet/pnet-0.5.10.ebuild b/dev-dotnet/pnet/pnet-0.5.10.ebuild
index a150b1a68f9b..451486544484 100644
--- a/dev-dotnet/pnet/pnet-0.5.10.ebuild
+++ b/dev-dotnet/pnet/pnet-0.5.10.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pnet/pnet-0.5.10.ebuild,v 1.1 2003/07/26 07:18:42 scandium Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pnet/pnet-0.5.10.ebuild,v 1.2 2003/08/13 10:58:40 scandium Exp $
+
+inherit eutils
DESCRIPTION="Portable .NET runtime, compiler, tools"
HOMEPAGE="http://www.dotgnu.org/"
@@ -14,6 +16,14 @@ IUSE=""
DEPEND=">=dev-util/treecc-0.2.6"
+src_unpack() {
+# Fix a pnetc compile problem
+
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/md5hash.patch
+}
+
src_compile() {
econf || die
emake || die