Annotation of pkgsrc/lang/python27/patches/patch-Python_thread__pthread.h, revision 1.1
1.1 ! adam 1: $NetBSD: patch-xa,v 1.3 2015/04/24 03:01:36 rodent Exp $
! 2:
! 3: --- Python/thread_pthread.h.orig 2014-12-10 15:59:59.000000000 +0000
! 4: +++ Python/thread_pthread.h
! 5: @@ -46,6 +46,9 @@
! 6: we need to add 0 to make it work there as well. */
! 7: #if (_POSIX_SEMAPHORES+0) == -1
! 8: #define HAVE_BROKEN_POSIX_SEMAPHORES
! 9: +#elif defined(__NetBSD__)
! 10: +/* XXX accesses to closed file descriptors, needs debugging */
! 11: +#define HAVE_BROKEN_POSIX_SEMAPHORES
! 12: #else
! 13: #include <semaphore.h>
! 14: #include <errno.h>
CVSweb <webmaster@jp.NetBSD.org>