summaryrefslogtreecommitdiff
path: root/lang/mono/patches/patch-aa
diff options
context:
space:
mode:
authorkefren <kefren@pkgsrc.org>2010-07-31 08:40:37 +0000
committerkefren <kefren@pkgsrc.org>2010-07-31 08:40:37 +0000
commitcb51d1bccbd7de9931a7d21e0ad645cb09fa40e2 (patch)
treeba8b77332e7f1eae08190cda0aff45179aec783c /lang/mono/patches/patch-aa
parent3f3a60c15330b36f331a756610372ab6e200ef7b (diff)
downloadpkgsrc-cb51d1bccbd7de9931a7d21e0ad645cb09fa40e2.tar.gz
Update to 2.6.7 - XXX: need to make moonlight profile work
Full update list: http://www.mono-project.com/Release_Notes_Mono_2.6.7
Diffstat (limited to 'lang/mono/patches/patch-aa')
-rw-r--r--lang/mono/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/mono/patches/patch-aa b/lang/mono/patches/patch-aa
new file mode 100644
index 00000000000..316612ddfc4
--- /dev/null
+++ b/lang/mono/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.16 2010/07/31 08:40:37 kefren Exp $
+--- mono/io-layer/collection.c.orig 2010-07-26 13:00:10.000000000 +0300
++++ mono/io-layer/collection.c 2010-07-26 13:00:48.000000000 +0300
+@@ -60,7 +60,11 @@
+
+ #if defined(HAVE_PTHREAD_ATTR_SETSTACKSIZE)
+ if (set_stacksize == 0) {
++#ifdef PTHREAD_STACK_MIN
+ ret = pthread_attr_setstacksize (&attr, MAX (65536, PTHREAD_STACK_MIN));
++#else
++ ret = pthread_attr_setstacksize (&attr, 65536);
++#endif
+ g_assert (ret == 0);
+ } else if (set_stacksize == 1) {
+ ret = pthread_attr_setstacksize (&attr, 131072);