c158ea3477
Python is an interpreted, interactive, object-oriented programming language that combines remarkable power with very clear syntax. For an introduction to programming in Python you are referred to the Python Tutorial. The Python Library Reference documents built-in and standard types, constants, functions and modules. Finally, the Python Reference Manual describes the syntax and semantics of the core language in (perhaps too) much detail. Python's basic power can be extended with your own modules written in C or C++. On most systems such modules may be dynamically loaded. Python is also adaptable as an exten- sion language for existing applications. See the internal documentation for hints. This package provides Python version 3.4.x.
14 lines
476 B
Text
14 lines
476 B
Text
$NetBSD: patch-xa,v 1.1 2014/05/09 02:27:14 wen Exp $
|
|
|
|
--- Python/thread_pthread.h.orig 2013-05-15 16:33:00.000000000 +0000
|
|
+++ Python/thread_pthread.h
|
|
@@ -50,6 +50,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>
|