diff options
author | drochner <drochner> | 2012-08-14 18:19:01 +0000 |
---|---|---|
committer | drochner <drochner> | 2012-08-14 18:19:01 +0000 |
commit | a2cb5085d347fa9a2457e0c996c3eed8b5769d70 (patch) | |
tree | e9018fadf8fb0851f7c8b0d90c4730481ac3a122 /lang/python27 | |
parent | 5ca117366f71128acb57ccf8948f8354d24f3b69 (diff) | |
download | pkgsrc-a2cb5085d347fa9a2457e0c996c3eed8b5769d70.tar.gz |
avoid POSIX semaphores on NetBSD -- at least on -current they cause
serious misbehavior (access to closed file descriptors, fd leaks)
which makes eg xentools completely unusable
bump PKGREV
Diffstat (limited to 'lang/python27')
-rw-r--r-- | lang/python27/Makefile | 3 | ||||
-rw-r--r-- | lang/python27/distinfo | 3 | ||||
-rw-r--r-- | lang/python27/patches/patch-xa | 14 |
3 files changed, 18 insertions, 2 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile index 960fd8de65f..3e1baed8ad7 100644 --- a/lang/python27/Makefile +++ b/lang/python27/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.17 2012/05/13 09:00:43 obache Exp $ +# $NetBSD: Makefile,v 1.18 2012/08/14 18:19:01 drochner Exp $ .include "dist.mk" PKGNAME= python27-${PY_DISTVERSION} +PKGREVISION= 1 CATEGORIES= lang python MAINTAINER= pkgsrc-users@NetBSD.org diff --git a/lang/python27/distinfo b/lang/python27/distinfo index 4ac50e7f000..17622386573 100644 --- a/lang/python27/distinfo +++ b/lang/python27/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.18 2012/04/13 18:47:27 adam Exp $ +$NetBSD: distinfo,v 1.19 2012/08/14 18:19:01 drochner Exp $ SHA1 (Python-2.7.3.tar.bz2) = 842c4e2aff3f016feea3c6e992c7fa96e49c9aa0 RMD160 (Python-2.7.3.tar.bz2) = bfc511d54080898d7008d4b84d49f957859d66c3 @@ -21,3 +21,4 @@ SHA1 (patch-aw) = 15652e241f371a22c7300f46771825ea74514fa0 SHA1 (patch-ax) = 962fc8059867f55aaba2d32a53f25f4007658e0d SHA1 (patch-az) = 303f7b95494780b8fa54192663f0a192e3d46b59 SHA1 (patch-pyconfig.h.in) = 7ebc0ed9ca9a37c5a6c8e04cc3f7fca4a5c90e8c +SHA1 (patch-xa) = 25f02b03f1c5534e1d839a5489d5a046071f32c0 diff --git a/lang/python27/patches/patch-xa b/lang/python27/patches/patch-xa new file mode 100644 index 00000000000..476f01906ba --- /dev/null +++ b/lang/python27/patches/patch-xa @@ -0,0 +1,14 @@ +$NetBSD: patch-xa,v 1.1 2012/08/14 18:19:02 drochner Exp $ + +--- Python/thread_pthread.h.orig 2012-03-30 13:06:51.000000000 +0000 ++++ Python/thread_pthread.h +@@ -34,6 +34,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> |