diff options
-rw-r--r-- | lang/python26/Makefile | 4 | ||||
-rw-r--r-- | lang/python26/distinfo | 3 | ||||
-rw-r--r-- | lang/python26/patches/patch-xa | 14 |
3 files changed, 18 insertions, 3 deletions
diff --git a/lang/python26/Makefile b/lang/python26/Makefile index bf516b5c288..0e12fa51fb9 100644 --- a/lang/python26/Makefile +++ b/lang/python26/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.48 2012/05/13 09:00:43 obache Exp $ +# $NetBSD: Makefile,v 1.49 2012/08/14 18:41:19 drochner Exp $ .include "dist.mk" PKGNAME= python26-${PY_DISTVERSION} +PKGREVISION= 1 CATEGORIES= lang python MAINTAINER= pkgsrc-users@NetBSD.org @@ -48,7 +49,6 @@ LIBS.SunOS+= -lrt PY_VER_SUFFIX= 2.6 .if ${OPSYS} == "NetBSD" -PRIVILEGED_STAGES+= clean # XXX work around a botched autoconf check which ignores libintl CONFIGURE_ENV+= ac_cv_func_bind_textdomain_codeset=yes .endif diff --git a/lang/python26/distinfo b/lang/python26/distinfo index 990bebe4536..b418452d7d5 100644 --- a/lang/python26/distinfo +++ b/lang/python26/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.46 2012/05/05 22:16:14 joerg Exp $ +$NetBSD: distinfo,v 1.47 2012/08/14 18:41:19 drochner Exp $ SHA1 (Python-2.6.8.tar.bz2) = 348b727a9818146a57aa43203f37d8c6b462fe79 RMD160 (Python-2.6.8.tar.bz2) = fcfa3554af415cbddd3e8d68aead46f1e7b8e616 @@ -26,3 +26,4 @@ SHA1 (patch-ba) = 97dcf72d7380a2d257220669845c52a698165fcf SHA1 (patch-bb) = 6cdd94dd1e69630159194c7c153b6c4e46c81456 SHA1 (patch-bc) = 09aaa254a54109026bb262a949b4006235df7858 SHA1 (patch-pyconfig.h.in) = ad0f7d60886849e58a03fb28bb6c5ba0600c4698 +SHA1 (patch-xa) = 25f02b03f1c5534e1d839a5489d5a046071f32c0 diff --git a/lang/python26/patches/patch-xa b/lang/python26/patches/patch-xa new file mode 100644 index 00000000000..fe3fc2e9c61 --- /dev/null +++ b/lang/python26/patches/patch-xa @@ -0,0 +1,14 @@ +$NetBSD: patch-xa,v 1.1 2012/08/14 18:41:19 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> |