summaryrefslogtreecommitdiff
path: root/lang/python24-pth/patches/patch-aj
diff options
context:
space:
mode:
authorrecht <recht>2004-12-05 23:28:53 +0000
committerrecht <recht>2004-12-05 23:28:53 +0000
commit2410898826815db0bb0e8132fc64ea269f47ff9b (patch)
tree260182aa4b43715dcdaf7058b7770cea07e8c2af /lang/python24-pth/patches/patch-aj
parentdb2dfe964ab42cc4ccc7380c81b9ad8a43c66cdd (diff)
downloadpkgsrc-2410898826815db0bb0e8132fc64ea269f47ff9b.tar.gz
initial import of Python 2.4 (threaded version)
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 has been compiled with support for threads.
Diffstat (limited to 'lang/python24-pth/patches/patch-aj')
-rw-r--r--lang/python24-pth/patches/patch-aj15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/python24-pth/patches/patch-aj b/lang/python24-pth/patches/patch-aj
new file mode 100644
index 00000000000..0c3c330c0da
--- /dev/null
+++ b/lang/python24-pth/patches/patch-aj
@@ -0,0 +1,15 @@
+$NetBSD: patch-aj,v 1.1.1.1 2004/12/05 23:28:56 recht Exp $
+
+--- Modules/bsddbmodule.c.orig Tue May 6 22:38:52 2003
++++ Modules/bsddbmodule.c
+@@ -13,6 +13,10 @@
+ www.nightmare.com/software.html
+ */
+
++#if defined(__sgi) && _COMPILER_VERSION>700 && !_SGIAPI
++#define _BSD_TYPES
++#endif
++
+ #include "Python.h"
+ #ifdef WITH_THREAD
+ #include "pythread.h"