diff options
Diffstat (limited to 'lang/python/patches/patch-ab')
-rw-r--r-- | lang/python/patches/patch-ab | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/lang/python/patches/patch-ab b/lang/python/patches/patch-ab new file mode 100644 index 00000000000..dc4f3247142 --- /dev/null +++ b/lang/python/patches/patch-ab @@ -0,0 +1,39 @@ +$NetBSD: patch-ab,v 1.1 1998/02/01 01:48:52 tron Exp $ + +Patches submitted to Guido, comitted for next release. + + -- tsarna@endicor.com, 21 January, 1998 + +--- Python/importdl.c.orig Sun Jan 11 12:53:01 1998 ++++ Python/importdl.c Sun Jan 11 12:54:01 1998 +@@ -53,7 +53,7 @@ + SHORT_EXT -- short extension for dynamic module, e.g. ".so" + LONG_EXT -- long extension, e.g. "module.so" + hpux -- HP-UX Dynamic Linking - defined by the compiler +- __NetBSD__ -- NetBSD shared libraries (not quite SVR4 compatible) ++ __NetBSD__ -- NetBSD shared libraries + __FreeBSD__ -- FreeBSD shared libraries + + (The other WITH_* symbols are used only once, to set the +@@ -88,7 +88,11 @@ + #define LONG_EXT ".dll" + #endif + +-#if defined(__NetBSD__) ++#ifdef HAVE_SYS_PARAM_H ++#include <sys/param.h> ++#endif ++ ++#if defined(__NetBSD__) && (NetBSD < 199712) + #define DYNAMIC_LINK + #define USE_SHLIB + +@@ -157,7 +161,7 @@ + #ifdef USE_SHLIB + #include <sys/types.h> + #include <sys/stat.h> +-#if defined(__NetBSD__) ++#if defined(__NetBSD__) && (NetBSD < 199712) + #include <nlist.h> + #include <link.h> + #else |