pkgsrc/lang/mono/patches/patch-cf
kefren cf5f9b21f1 Welcome to Mono 2.2.
Changes since version 2.0 include improved performance, Full AOT and SIMD

For full changelist see:
http://www.mono-project.com/Release_Notes_Mono_2.2
2009-01-19 22:35:53 +00:00

16 lines
658 B
Text

$NetBSD: patch-cf,v 1.4 2009/01/19 22:35:53 kefren Exp $
--- mono/metadata/class.c.orig 2009-01-09 04:48:42.000000000 +0200
+++ mono/metadata/class.c 2009-01-19 08:27:07.000000000 +0200
@@ -7534,7 +7534,12 @@
mono_class_generic_sharing_enabled (MonoClass *class)
{
#if defined(__i386__) || defined(__x86_64__) || defined(__arm__) || defined(__ppc__) || defined(__powerpc__)
+#if defined(__NetBSD__) && defined(__x86_64__)
+ /* https://bugzilla.novell.com/show_bug.cgi?id=434457 */
+ static gboolean supported = FALSE;
+#else
static gboolean supported = TRUE;
+#endif
#else
/* Not supported by the JIT backends */
static gboolean supported = FALSE;