diff options
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python21/Makefile | 2 | ||||
-rw-r--r-- | lang/python21/files/zwiki.patch | 23 |
2 files changed, 24 insertions, 1 deletions
diff --git a/lang/python21/Makefile b/lang/python21/Makefile index 0c3b95f14e5..1dd999fd0cb 100644 --- a/lang/python21/Makefile +++ b/lang/python21/Makefile @@ -7,7 +7,7 @@ PORTNAME= python PORTVERSION= 2.1.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= lang python MASTER_SITES= http://www.python.org/ftp/python/${PORTVERSION}/ \ ${MASTER_SITE_SOURCEFORGE} \ diff --git a/lang/python21/files/zwiki.patch b/lang/python21/files/zwiki.patch new file mode 100644 index 00000000000..af6eba31e6b --- /dev/null +++ b/lang/python21/files/zwiki.patch @@ -0,0 +1,23 @@ +diff -ruN Python/thread_pthread.h.orig Python/thread_pthread.h +--- Python/thread_pthread.h.orig Wed Feb 5 01:26:59 2003 ++++ Python/thread_pthread.h Wed Feb 5 01:28:32 2003 +@@ -128,6 +128,10 @@ + { + pthread_t th; + int success; ++ pthread_attr_t pta; ++ pthread_attr_init(&pta); ++ pthread_attr_setstacksize(&pta, (1<<17)); ++ + #ifdef PTHREAD_SYSTEM_SCHED_SUPPORTED + pthread_attr_t attrs; + #endif +@@ -156,7 +160,7 @@ + #ifdef PTHREAD_SYSTEM_SCHED_SUPPORTED + &attrs, + #else +- (pthread_attr_t*)NULL, ++ (pthread_attr_t*)&pta, + #endif + (void* (*)(void *))func, + (void *)arg |