Annotation of pkgsrc/lang/python311/patches/patch-Python_thread__pthread.h, revision 1.1

1.1     ! adam        1: $NetBSD: patch-Python_thread__pthread.h,v 1.2 2021/12/11 10:40:58 wiz Exp $
        !             2: 
        !             3: https://bugs.python.org/issue46045
        !             4: 
        !             5: --- Python/thread_pthread.h.orig       2013-05-15 16:33:00.000000000 +0000
        !             6: +++ Python/thread_pthread.h
        !             7: @@ -82,6 +82,9 @@
        !             8:     we need to add 0 to make it work there as well. */
        !             9:  #if (_POSIX_SEMAPHORES+0) == -1
        !            10:  #define HAVE_BROKEN_POSIX_SEMAPHORES
        !            11: +#elif defined(__NetBSD__)
        !            12: +/* XXX accesses to closed file descriptors, needs debugging */
        !            13: +#define HAVE_BROKEN_POSIX_SEMAPHORES
        !            14:  #else
        !            15:  #include <semaphore.h>
        !            16:  #include <errno.h>

CVSweb <webmaster@jp.NetBSD.org>