pkgsrc/lang/python25/patches/patch-aj
tnn fd3f9b16d3 Here's python25-2.5.2, courtesy of pkgsrc-wip.
It probably needs plenty more polishing, especially on !NetBSD.
Python 2.4 will remain the default for some time.
For the new features in Python 2.5, look here:
* http://docs.python.org/whatsnew/whatsnew25.html
2008-04-24 01:50:55 +00:00

15 lines
364 B
Text

$NetBSD: patch-aj,v 1.1.1.1 2008/04/24 01:50:58 tnn Exp $
--- Modules/bsddbmodule.c.orig 2006-02-15 12:27:45.000000000 -0500
+++ 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"