diff options
author | tron <tron@pkgsrc.org> | 1998-02-01 01:48:50 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1998-02-01 01:48:50 +0000 |
commit | 94d01ce851a233fe49be349f028e2c655fd9fb04 (patch) | |
tree | 1e81b5adeb18b27cef13ca09785ee523bee83199 /lang/python/patches | |
parent | 72d7594f54f7d4700cd23fecb7e581faf278bb06 (diff) | |
download | pkgsrc-94d01ce851a233fe49be349f028e2c655fd9fb04.tar.gz |
Initial import of python 1.5 package made by Ty Sarna.
Diffstat (limited to 'lang/python/patches')
-rw-r--r-- | lang/python/patches/patch-aa | 13 | ||||
-rw-r--r-- | lang/python/patches/patch-ab | 39 |
2 files changed, 52 insertions, 0 deletions
diff --git a/lang/python/patches/patch-aa b/lang/python/patches/patch-aa new file mode 100644 index 00000000000..ce13a6ff125 --- /dev/null +++ b/lang/python/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 1998/02/01 01:48:52 tron Exp $ + +(This is the re.1.txt patch from www.python.org) + +--- Lib/re.py 1997/12/31 21:40:43 ++++ Lib/re.py 1997/12/31 21:55:49 +@@ -203,6 +203,7 @@ + if type(g)==type( "" ): g = [g] + results[len(results):] = list(g) + pos = lastmatch = j ++ n = n + 1 + results.append(source[lastmatch:]) + return results 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 |