Annotation of pkgsrc/lang/python310/patches/patch-Python_thread__pthread.h, revision 1.2

1.2     ! wiz         1: $NetBSD: patch-Python_thread__pthread.h,v 1.1 2021/10/05 19:07:13 adam Exp $
        !             2: 
        !             3: https://bugs.python.org/issue46045
1.1       adam        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>