diff options
author | Alan Eldridge <alane@FreeBSD.org> | 2003-04-13 19:20:43 +0000 |
---|---|---|
committer | Alan Eldridge <alane@FreeBSD.org> | 2003-04-13 19:20:43 +0000 |
commit | ef6887aa651afce3a3f4381cb4a5965dd2c119c1 (patch) | |
tree | 22e304e36d94c7c99c4671c60c8ec706898a6f19 /lang/python21 | |
parent | Update to exmh-2.6.3. (diff) |
committed zwiki thread stack patch
Notes
Notes:
svn path=/head/; revision=78898
Diffstat (limited to 'lang/python21')
-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 0c3b95f14e5c..1dd999fd0cb0 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 000000000000..af6eba31e6b6 --- /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 |