diff options
Diffstat (limited to 'lang/mono/patches/patch-dg')
-rw-r--r-- | lang/mono/patches/patch-dg | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/lang/mono/patches/patch-dg b/lang/mono/patches/patch-dg index ed9085116f7..57d8a275399 100644 --- a/lang/mono/patches/patch-dg +++ b/lang/mono/patches/patch-dg @@ -1,18 +1,20 @@ -$NetBSD: patch-dg,v 1.3 2010/04/29 08:44:30 kefren Exp $ ---- mono/metadata/threads.c.orig 2010-04-22 18:37:44.000000000 +0300 -+++ mono/metadata/threads.c 2010-04-29 10:52:33.000000000 +0300 -@@ -880,8 +880,14 @@ +$NetBSD: patch-dg,v 1.4 2011/04/25 14:01:40 kefren Exp $ +--- mono/metadata/threads.c.orig 2011-02-23 21:21:01.000000000 +0200 ++++ mono/metadata/threads.c 2011-04-25 12:32:08.000000000 +0300 +@@ -1002,8 +1002,16 @@ mono_thread_get_stack_bounds (guint8 **s # if !defined(__OpenBSD__) pthread_attr_getstack (&attr, (void**)staddr, stsize); # endif -+ /* -+ * he@NetBSD.org: For some reason, this test fails on NetBSD/powerpc, -+ * so just avoid it. -+ */ -+ #if !(defined(__NetBSD__) && defined(__powerpc__)) ++ /* ++ * he@NetBSD.org: For some reason, this test fails on NetBSD/powerpc, ++ * so just avoid it. ++ * kefren@: as a hint if somebody want to take a closer look: this ++ * triggers also when building in a i386 chroot on amd64 ++ */ ++# if !(defined(__NetBSD__) && defined(__powerpc__)) if (*staddr) g_assert ((current > *staddr) && (current < *staddr + *stsize)); -+ #endif ++# endif # endif - pthread_attr_destroy (&attr); + pthread_attr_destroy (&attr); |