summaryrefslogtreecommitdiff
path: root/lang/python33/patches/patch-xa
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python33/patches/patch-xa')
-rw-r--r--lang/python33/patches/patch-xa14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/python33/patches/patch-xa b/lang/python33/patches/patch-xa
new file mode 100644
index 00000000000..311fe4297db
--- /dev/null
+++ b/lang/python33/patches/patch-xa
@@ -0,0 +1,14 @@
+$NetBSD: patch-xa,v 1.1 2013/08/09 10:54:17 drochner Exp $
+
+--- Python/thread_pthread.h.orig 2013-05-15 16:33:00.000000000 +0000
++++ Python/thread_pthread.h
+@@ -50,6 +50,9 @@
+ we need to add 0 to make it work there as well. */
+ #if (_POSIX_SEMAPHORES+0) == -1
+ #define HAVE_BROKEN_POSIX_SEMAPHORES
++#elif defined(__NetBSD__)
++/* XXX accesses to closed file descriptors, needs debugging */
++#define HAVE_BROKEN_POSIX_SEMAPHORES
+ #else
+ #include <semaphore.h>
+ #include <errno.h>