summaryrefslogtreecommitdiff
path: root/lang/python32
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2013-08-09 10:54:17 +0000
committerdrochner <drochner@pkgsrc.org>2013-08-09 10:54:17 +0000
commit552df8ed80aa0f47d2b975d826f6b8405f2dcaf1 (patch)
tree9d3871ea3b187ff86763bd7e0be8c7aa46b1a037 /lang/python32
parent2b41f504cd76bf8d63ab898ceacbf6dac9945ac6 (diff)
downloadpkgsrc-552df8ed80aa0f47d2b975d826f6b8405f2dcaf1.tar.gz
Copy the patch which disables use of Posix semaphores on NetBSD
from Python2 to Python3. Without that, selftests fail in multiple places. bump PKGREV
Diffstat (limited to 'lang/python32')
-rw-r--r--lang/python32/Makefile4
-rw-r--r--lang/python32/distinfo3
-rw-r--r--lang/python32/patches/patch-xa14
3 files changed, 18 insertions, 3 deletions
diff --git a/lang/python32/Makefile b/lang/python32/Makefile
index d34f1e7bb8c..e9fc6acc36f 100644
--- a/lang/python32/Makefile
+++ b/lang/python32/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.6 2013/07/15 02:02:24 ryoon Exp $
+# $NetBSD: Makefile,v 1.7 2013/08/09 10:54:17 drochner Exp $
.include "dist.mk"
PKGNAME= python32-${PY_DISTVERSION}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= lang python
MAINTAINER= pkgsrc-users@NetBSD.org
diff --git a/lang/python32/distinfo b/lang/python32/distinfo
index ec4797e7b89..02c23885e1c 100644
--- a/lang/python32/distinfo
+++ b/lang/python32/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2013/01/09 17:01:02 reed Exp $
+$NetBSD: distinfo,v 1.5 2013/08/09 10:54:17 drochner Exp $
SHA1 (Python-3.2.3.tar.bz2) = 4c2d562a0681ba27bc920500050e2f08de224311
RMD160 (Python-3.2.3.tar.bz2) = a4d902bc4436ea28df3d706015afd6e0f50131f4
@@ -15,3 +15,4 @@ SHA1 (patch-av) = 9b44f339f65f029b7f17dbc654739a7ae3c12780
SHA1 (patch-aw) = 598e4710c426110012048946786a6d72f050e0fc
SHA1 (patch-modules__posixsubprocess.c) = 39790dbcfb0d99e7dafa6a175bb65dcfc190168f
SHA1 (patch-pyconfig.h.in) = 7ebc0ed9ca9a37c5a6c8e04cc3f7fca4a5c90e8c
+SHA1 (patch-xa) = fb81eaa604b4ed7c1b64c3f4731d58a8aee257be
diff --git a/lang/python32/patches/patch-xa b/lang/python32/patches/patch-xa
new file mode 100644
index 00000000000..311fe4297db
--- /dev/null
+++ b/lang/python32/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>