diff options
author | he <he> | 2009-04-05 16:20:06 +0000 |
---|---|---|
committer | he <he> | 2009-04-05 16:20:06 +0000 |
commit | b5619cd30aca0d9fb73f734858f4e077e082e0e8 (patch) | |
tree | 0ea8432e6036f23487532fbf17a62942ea1627e2 /lang | |
parent | 3aa87da1a453e36cb0abe890c2244fbe02e554dc (diff) | |
download | pkgsrc-b5619cd30aca0d9fb73f734858f4e077e082e0e8.tar.gz |
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 (limited to 'lang')
-rw-r--r-- | lang/mono/distinfo | 3 | ||||
-rw-r--r-- | lang/mono/patches/patch-dg | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/lang/mono/distinfo b/lang/mono/distinfo index f776c499d53..0a11e9faa3e 100644 --- a/lang/mono/distinfo +++ b/lang/mono/distinfo @@ -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-dc) = 1f1792e7c23cfeebabed2bd82f47b18a245e9641 SHA1 (patch-dd) = 88feddae56ffd63bd9c783408c32bd6539b2e798 SHA1 (patch-de) = 292bdc9baf16f5c9f2dc42645ef6d9cdc1a7add8 SHA1 (patch-df) = a1127999bf0d73dfaeabb369e0ad6abe3fc4b255 +SHA1 (patch-dg) = d5bcda304ad00b5b8ea03dec76967b43da4b0d51 diff --git a/lang/mono/patches/patch-dg b/lang/mono/patches/patch-dg new file mode 100644 index 00000000000..5633ec31f49 --- /dev/null +++ b/lang/mono/patches/patch-dg @@ -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 |