summaryrefslogtreecommitdiff
path: root/lang/python23/patches/patch-ce
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python23/patches/patch-ce')
-rw-r--r--lang/python23/patches/patch-ce15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/python23/patches/patch-ce b/lang/python23/patches/patch-ce
new file mode 100644
index 00000000000..1ffc18cdb7e
--- /dev/null
+++ b/lang/python23/patches/patch-ce
@@ -0,0 +1,15 @@
+$NetBSD: patch-ce,v 1.1 2004/11/24 20:45:10 jschauma Exp $
+
+--- Modules/bsddbmodule.c Tue Nov 23 09:41:44 2004
++++ Modules/bsddbmodule.c Tue Nov 23 09:43:27 2004
+@@ -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"