pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/40622 (Build of lang/mono loops on NetBSD/macppc 4.0)
Hi,
the attached patch makes the build complete on NetBSD/macppc
5.0_RC3. Looks OK to commit (modulo freeze approval)?
- Havard
------------------------------
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/lang/mono/distinfo,v
retrieving revision 1.45
diff -u -p -r1.45 distinfo
--- distinfo 4 Mar 2009 01:09:19 -0000 1.45
+++ distinfo 5 Apr 2009 13:08:49 -0000
@@ -36,3 +36,4 @@ SHA1 (patch-dc) = 1f1792e7c23cfeebabed2b
SHA1 (patch-dd) = 88feddae56ffd63bd9c783408c32bd6539b2e798
SHA1 (patch-de) = 292bdc9baf16f5c9f2dc42645ef6d9cdc1a7add8
SHA1 (patch-df) = a1127999bf0d73dfaeabb369e0ad6abe3fc4b255
+SHA1 (patch-dg) = d5bcda304ad00b5b8ea03dec76967b43da4b0d51
--- /dev/null 2009-04-05 15:08:29.000000000 +0200
+++ patches/patch-dg 2009-04-05 15:08:37.000000000 +0200
@@ -0,0 +1,18 @@
+$NetBSD$
+
+For some reason, this test fails on NetBSD/powerpc, so just avoid it.
+
+--- ./mono/metadata/threads.c.orig 2009-04-05 15:00:34.000000000 +0200
++++ ./mono/metadata/threads.c
+@@ -782,9 +782,11 @@ mono_thread_get_stack_bounds (guint8 **s
+
+ #ifndef sun
+ pthread_attr_getstack (&attr, (void**)staddr, stsize);
++#if !(defined(__NetBSD__) && defined(__powerpc__))
+ if (*staddr)
+ g_assert ((current > *staddr) && (current < *staddr + *stsize));
+ #endif
++#endif
+
+ pthread_attr_destroy (&attr);
+ #endif
Home |
Main Index |
Thread Index |
Old Index