pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/mono Add a patch to make this package build for o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a23cb3661909
branches:  trunk
changeset: 556749:a23cb3661909
user:      he <he%pkgsrc.org@localhost>
date:      Sun Apr 05 16:20:06 2009 +0000

description:
Add a patch to make this package build for our powerpc ports.
Since there is no difference for our other ports, no revision bump needed.
Part of fixing PR pkg/40622.

OK'ed by agc@

diffstat:

 lang/mono/distinfo         |   3 ++-
 lang/mono/patches/patch-dg |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r d1d497d557ce -r a23cb3661909 lang/mono/distinfo
--- a/lang/mono/distinfo        Sun Apr 05 15:51:38 2009 +0000
+++ b/lang/mono/distinfo        Sun Apr 05 16:20:06 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.45 2009/03/04 01:09:19 kefren Exp $
+$NetBSD: distinfo,v 1.46 2009/04/05 16:20:06 he Exp $
 
 SHA1 (mono-2.2.tar.bz2) = 028c061ba4f4631c4ff10a15b832211a67ec5858
 RMD160 (mono-2.2.tar.bz2) = 664f09ccd8822b62d94d242871b956b00adae7b6
@@ -36,3 +36,4 @@
 SHA1 (patch-dd) = 88feddae56ffd63bd9c783408c32bd6539b2e798
 SHA1 (patch-de) = 292bdc9baf16f5c9f2dc42645ef6d9cdc1a7add8
 SHA1 (patch-df) = a1127999bf0d73dfaeabb369e0ad6abe3fc4b255
+SHA1 (patch-dg) = d5bcda304ad00b5b8ea03dec76967b43da4b0d51
diff -r d1d497d557ce -r a23cb3661909 lang/mono/patches/patch-dg
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/mono/patches/patch-dg        Sun Apr 05 16:20:06 2009 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-dg,v 1.1 2009/04/05 16:20:06 he Exp $
+
+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