summaryrefslogtreecommitdiff
path: root/graphics/cinepaint/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/cinepaint/patches/patch-ae')
-rw-r--r--graphics/cinepaint/patches/patch-ae17
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/cinepaint/patches/patch-ae b/graphics/cinepaint/patches/patch-ae
new file mode 100644
index 00000000000..5cd27a2f2ac
--- /dev/null
+++ b/graphics/cinepaint/patches/patch-ae
@@ -0,0 +1,17 @@
+$NetBSD: patch-ae,v 1.3 2008/11/10 19:04:45 adam Exp $
+
+--- plug-ins/icc_examin/icc_examin/threads.cpp.orig 2008-11-10 19:06:22.000000000 +0100
++++ plug-ins/icc_examin/icc_examin/threads.cpp
+@@ -58,10 +58,12 @@ int fl_create_thread(Fl_Thread& t, void
+ ret = pthread_attr_getstacksize( &tattr, &size );
+
+ /* setting the size of the stack also */
++#ifdef PTHREAD_STACK_MIN
+ if(size > PTHREAD_STACK_MIN)
+ size = PTHREAD_STACK_MIN + /*size +*/ 0x800000;
+ std::cout<<"neue Stackgroesse: "<< PTHREAD_STACK_MIN <<" "<< 0x800000 <<" ";
+ ret = pthread_attr_setstacksize(&tattr, size);
++#endif
+
+
+ /* only size specified in tattr*/