summaryrefslogtreecommitdiff
path: root/lang/python23-pth/patches/patch-ba
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python23-pth/patches/patch-ba')
-rw-r--r--lang/python23-pth/patches/patch-ba32
1 files changed, 0 insertions, 32 deletions
diff --git a/lang/python23-pth/patches/patch-ba b/lang/python23-pth/patches/patch-ba
deleted file mode 100644
index 8b4b3c6f6b7..00000000000
--- a/lang/python23-pth/patches/patch-ba
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-ba,v 1.1 2003/08/06 11:38:11 drochner Exp $
-
---- Python/thread_pth.h.orig 2002-01-19 23:02:55.000000000 +0100
-+++ Python/thread_pth.h 2003-08-02 15:26:12.000000000 +0200
-@@ -30,6 +30,8 @@
-
- #define CHECK_STATUS(name) if (status == -1) { printf("%d ", status); perror(name); error = 1; }
-
-+pth_attr_t PyThread_attr;
-+
- /*
- * Initialization.
- */
-@@ -37,6 +39,9 @@
- static void PyThread__init_thread(void)
- {
- pth_init();
-+ PyThread_attr = pth_attr_new();
-+ pth_attr_set(PyThread_attr, PTH_ATTR_STACK_SIZE, 1<<18);
-+ pth_attr_set(PyThread_attr, PTH_ATTR_JOINABLE, FALSE);
- }
-
- /*
-@@ -51,7 +56,7 @@
- if (!initialized)
- PyThread_init_thread();
-
-- th = pth_spawn(PTH_ATTR_DEFAULT,
-+ th = pth_spawn(PyThread_attr,
- (void* (*)(void *))func,
- (void *)arg
- );