Annotation of pkgsrc/lang/python36/patches/patch-Python_thread__pthread.h, revision 1.1
1.1 ! adam 1: $NetBSD: patch-Python_thread__pthread.h,v 1.1 2015/12/05 17:12:13 adam Exp $
! 2:
! 3: --- Python/thread_pthread.h.orig 2013-05-15 16:33:00.000000000 +0000
! 4: +++ Python/thread_pthread.h
! 5: @@ -50,6 +50,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>