summaryrefslogtreecommitdiff
path: root/lang/python24-pth/patches/patch-aj
diff options
context:
space:
mode:
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"