summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorkefren <kefren>2008-10-10 22:02:42 +0000
committerkefren <kefren>2008-10-10 22:02:42 +0000
commitd662bafc352f0cffcd19c4f22898cfe5398e03fe (patch)
tree80bff138c9a75e7c002efb75e1e293f5426a72e7 /lang
parent06feea8796bd19147fb7410ccaf378b7736cec39 (diff)
downloadpkgsrc-d662bafc352f0cffcd19c4f22898cfe5398e03fe.tar.gz
Disable generic sharing on NetBSD/amd64 in order to get it built and
working. Probably this should be done for all *BSD as well. Bump PKGREVISION
Diffstat (limited to 'lang')
-rw-r--r--lang/mono/Makefile3
-rw-r--r--lang/mono/distinfo3
-rw-r--r--lang/mono/patches/patch-cf15
3 files changed, 19 insertions, 2 deletions
diff --git a/lang/mono/Makefile b/lang/mono/Makefile
index 2a1fcfe15aa..bcc56b120c0 100644
--- a/lang/mono/Makefile
+++ b/lang/mono/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.72 2008/10/07 13:22:32 kefren Exp $
+# $NetBSD: Makefile,v 1.73 2008/10/10 22:02:42 kefren Exp $
DISTNAME= mono-${MONO_VERSION}
CATEGORIES= lang
+PKGREVISION= 1
MASTER_SITES= http://ftp.novell.com/pub/mono/sources/mono/
EXTRACT_SUFX= .tar.bz2
diff --git a/lang/mono/distinfo b/lang/mono/distinfo
index 2499fa36ff0..f15fc0c52eb 100644
--- a/lang/mono/distinfo
+++ b/lang/mono/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.38 2008/10/07 13:22:33 kefren Exp $
+$NetBSD: distinfo,v 1.39 2008/10/10 22:02:42 kefren Exp $
SHA1 (mono-2.0.tar.bz2) = 761c653750367331732f76cc7fb3a7d4480bff80
RMD160 (mono-2.0.tar.bz2) = a80be8a222bcffd402ecc727c87d20c30b750031
@@ -25,3 +25,4 @@ SHA1 (patch-cb) = eaf041b83af24afc4d82d5088a01f98810a1de69
SHA1 (patch-cc) = ee2b28f90034d17330910af2f6c47524a3d6d557
SHA1 (patch-cd) = dc2afe3992c50b4201af628e12fc269d8bf893a6
SHA1 (patch-ce) = ba1ae96ab63fe798ce781f0def5fe026d1776df0
+SHA1 (patch-cf) = d6c419402636018800e62341024dc7cba71f791a
diff --git a/lang/mono/patches/patch-cf b/lang/mono/patches/patch-cf
new file mode 100644
index 00000000000..3fef495cb2b
--- /dev/null
+++ b/lang/mono/patches/patch-cf
@@ -0,0 +1,15 @@
+$NetBSD: patch-cf,v 1.3 2008/10/10 22:02:43 kefren Exp $
+--- mono/metadata/class.c.orig 2008-10-10 23:57:39.000000000 +0300
++++ mono/metadata/class.c 2008-10-10 23:58:35.000000000 +0300
+@@ -7445,7 +7445,10 @@
+ gboolean
+ mono_class_generic_sharing_enabled (MonoClass *class)
+ {
+-#if defined(__i386__) || defined(__x86_64__)
++#if defined(__NetBSD__) && defined(__x86_64__)
++/* https://bugzilla.novell.com/show_bug.cgi?id=434457 */
++ static gboolean supported = FALSE;
++#elif defined(__i386__) || defined(__x86_64__)
+ static gboolean supported = TRUE;
+ #else
+ /* Not supported by the JIT backends */