diff options
author | kefren <kefren> | 2008-10-10 22:02:42 +0000 |
---|---|---|
committer | kefren <kefren> | 2008-10-10 22:02:42 +0000 |
commit | d662bafc352f0cffcd19c4f22898cfe5398e03fe (patch) | |
tree | 80bff138c9a75e7c002efb75e1e293f5426a72e7 /lang/mono/patches | |
parent | 06feea8796bd19147fb7410ccaf378b7736cec39 (diff) | |
download | pkgsrc-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/mono/patches')
-rw-r--r-- | lang/mono/patches/patch-cf | 15 |
1 files changed, 15 insertions, 0 deletions
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 */ |