diff options
Diffstat (limited to 'lang/python/patches/patch-aa')
-rw-r--r-- | lang/python/patches/patch-aa | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/lang/python/patches/patch-aa b/lang/python/patches/patch-aa deleted file mode 100644 index da7a2719668..00000000000 --- a/lang/python/patches/patch-aa +++ /dev/null @@ -1,38 +0,0 @@ -$NetBSD: patch-aa,v 1.8 2000/12/05 15:03:52 drochner Exp $ - ---- Python/dynload_shlib.c.orig Mon Oct 16 23:49:29 2000 -+++ Python/dynload_shlib.c Tue Dec 5 15:58:49 2000 -@@ -6,7 +6,9 @@ - - #include <sys/types.h> - #include <sys/stat.h> --#if defined(__NetBSD__) && (NetBSD < 199712) -+#if defined(__NetBSD__) -+#include <sys/param.h> -+#if (NetBSD < 199712) - #include <nlist.h> - #include <link.h> - #define dlerror() "error in dynamic linking" -@@ -15,6 +17,13 @@ - #include <dlfcn.h> - #endif - #endif -+#endif /* __NetBSD__ */ -+ -+#if (defined(__NetBSD__) || defined(__OpenBSD__)) && !defined(__ELF__) -+#define LEAD_UNDERSCORE "_" -+#else -+#define LEAD_UNDERSCORE "" -+#endif - - #ifndef RTLD_LAZY - #define RTLD_LAZY 1 -@@ -55,7 +64,7 @@ - } - - /* ### should there be a leading underscore for some platforms? */ -- sprintf(funcname, "init%.200s", shortname); -+ sprintf(funcname, LEAD_UNDERSCORE "init%.200s", shortname); - - if (fp != NULL) { - int i; |