head 1.9; access; symbols pkgsrc-2013Q2:1.9.0.54 pkgsrc-2013Q2-base:1.9 pkgsrc-2012Q4:1.9.0.52 pkgsrc-2012Q4-base:1.9 pkgsrc-2011Q4:1.9.0.50 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q2:1.9.0.48 pkgsrc-2011Q2-base:1.9 pkgsrc-2009Q4:1.9.0.46 pkgsrc-2009Q4-base:1.9 pkgsrc-2008Q4:1.9.0.44 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.42 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.40 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.38 pkgsrc-2008Q2-base:1.9 pkgsrc-2008Q1:1.9.0.36 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.34 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.9.0.32 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.30 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.28 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.9.0.26 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.9.0.24 pkgsrc-2006Q3-base:1.9 pkgsrc-2006Q2:1.9.0.22 pkgsrc-2006Q2-base:1.9 pkgsrc-2006Q1:1.9.0.20 pkgsrc-2006Q1-base:1.9 pkgsrc-2005Q4:1.9.0.18 pkgsrc-2005Q4-base:1.9 pkgsrc-2005Q3:1.9.0.16 pkgsrc-2005Q3-base:1.9 pkgsrc-2005Q2:1.9.0.14 pkgsrc-2005Q2-base:1.9 pkgsrc-2005Q1:1.9.0.12 pkgsrc-2005Q1-base:1.9 pkgsrc-2004Q4:1.9.0.10 pkgsrc-2004Q4-base:1.9 pkgsrc-2004Q3:1.9.0.8 pkgsrc-2004Q3-base:1.9 pkgsrc-2004Q2:1.9.0.6 pkgsrc-2004Q2-base:1.9 pkgsrc-2004Q1:1.9.0.4 pkgsrc-2004Q1-base:1.9 pkgsrc-2003Q4:1.9.0.2 pkgsrc-2003Q4-base:1.9 buildlink2-base:1.9 netbsd-1-5-PATCH001:1.8 netbsd-1-5-RELEASE:1.5 netbsd-1-4-PATCH003:1.5 netbsd-1-4-PATCH002:1.5 comdex-fall-1999:1.5 netbsd-1-4-PATCH001:1.5 netbsd-1-4-RELEASE:1.5 netbsd-1-3-PATCH002:1.2; locks; strict; comment @# @; 1.9 date 2002.01.29.12.37.50; author drochner; state dead; branches; next 1.8; 1.8 date 2000.12.05.15.03.52; author drochner; state Exp; branches; next 1.7; 1.7 date 2000.11.11.17.08.16; author tsarna; state Exp; branches; next 1.6; 1.6 date 2000.10.22.20.01.49; author tsarna; state dead; branches; next 1.5; 1.5 date 99.04.14.05.11.22; author tsarna; state Exp; branches; next 1.4; 1.4 date 99.04.14.05.00.11; author tsarna; state Exp; branches; next 1.3; 1.3 date 98.07.11.20.33.13; author tsarna; state dead; branches; next 1.2; 1.2 date 98.05.04.19.29.19; author tron; state Exp; branches; next 1.1; 1.1 date 98.02.01.01.48.52; author tron; state Exp; branches; next ; desc @@ 1.9 log @remove the old python-2.x pkg, this is superseded by the new framework @ text @$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 #include -#if defined(__NetBSD__) && (NetBSD < 199712) +#if defined(__NetBSD__) +#include +#if (NetBSD < 199712) #include #include #define dlerror() "error in dynamic linking" @@@@ -15,6 +17,13 @@@@ #include #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; @ 1.8 log @fix reporting of dynamic linking errors @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @Make this work on both ELF and a.out (again) @ text @d3 15 a17 7 Make this work on non-ELF NetBSD. Based on current python cvs with (probably broken... are ALL OpenBSD ports a.out?) + NetBSD fix. --- Python/dynload_shlib.c.orig Sat Nov 11 10:32:40 2000 +++ Python/dynload_shlib.c Sat Nov 11 10:51:03 2000 @@@@ -16,6 +16,12 @@@@ d20 2 a21 1 d27 1 a27 1 + d30 1 a30 2 #endif @@@@ -55,7 +61,7 @@@@ @ 1.6 log @First batch of upgrades for Python 2.0: lang/python upgraded to 2.0 lang/py-html-docs upgraded to 2.0 misc/py-readline upgraded to 2.0 databases/py-gdbm upgraded to 2.0 x11/py-Tk upgraded to 2.0 devel/py-curses upgraded to 2.0 lang/py-extclass upgraded to 2.2.2 and for Python 2.0 textproc/py-dtml upgraded to 2.2.2 and for Python 2.0 www/py-zpublisher upgraded to 2.2.2 and for Python 2.0 print/py-reportlab upgraded to 1.01 and for Python 2.0 More coming... @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 1999/04/14 05:11:22 tsarna Exp $ d3 3 a5 1 Deal with egcs's unexpectedly long version string. d7 24 a30 11 --- Python/getversion.c.orig Tue Apr 13 23:58:15 1999 +++ Python/getversion.c Tue Apr 13 23:58:22 1999 @@@@ -39,7 +39,7 @@@@ Py_GetVersion() { static char version[100]; - sprintf(version, "%.10s (%.40s) %.40s", PY_VERSION, + sprintf(version, "%.10s (%.40s) %.50s", PY_VERSION, Py_GetBuildInfo(), Py_GetCompiler()); return version; } @ 1.5 log @RCSid and comment on patch. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Deal with our unusually long compiler version string. @ text @d1 4 @ 1.3 log @Two changes: - Use -fPIC instead of -fpic (latter breaks py-Numeric on sparc). Suggested by tv@@netbsd.org. This is inherited by most py-* packages. Change sent to guido@@cnri.reston.va.us. - Remove official patches from patches dir. Use PATCHFILES mechanism instead to get them from www.python.org. @ text @d1 11 a11 18 Index: Tools/freeze/freeze.py =================================================================== RCS file: /projects/cvsroot/python/dist/src/Tools/freeze/freeze.py,v retrieving revision 1.25 retrieving revision 1.26 diff -c -r1.25 -r1.26 *** freeze.py 1998/03/20 17:37:18 1.25 --- freeze.py 1998/04/20 17:53:19 1.26 *************** *** 72,78 **** import os import string import sys - import addpack # Import the freeze-private modules --- 72,77 ---- @ 1.2 log @Update python to version 1.5.1 using package by Jaromir Dolecek. Fixes PR pkg/5361. @ text @@ 1.1 log @Initial import of python 1.5 package made by Ty Sarna. @ text @d1 18 a18 13 $NetBSD$ (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 @