head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.54 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.52 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.50 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.48 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.46 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.44 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.42 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.40 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.38 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.36 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.34 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.32 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.30 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.28 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.26 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.24 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.22 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.20 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.18 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.16 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.14 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.12 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.10 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.8 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.6 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.4 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.5.0.2 pkgsrc-2003Q4-base:1.5 buildlink2-base:1.5 netbsd-1-5-RELEASE:1.4 netbsd-1-4-PATCH003:1.4 netbsd-1-3-PATCH002:1.2; locks; strict; comment @# @; 1.5 date 2000.10.22.20.01.50; author tsarna; state dead; branches; next 1.4; 1.4 date 2000.09.10.20.59.07; author wiz; 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.09.18.14.06; author tron; state Exp; branches; next ; desc @@ 1.5 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 @$NetBSD: patch-ac,v 1.4 2000/09/10 20:59:07 wiz Exp $ If libnet is installed, this check results in a link error. -- wiz --- configure.orig Sat Apr 10 18:02:18 1999 +++ configure @@@@ -2499,46 +2499,6 @@@@ echo "$ac_t""no" 1>&6 fi # SVR4 sockets -echo $ac_n "checking for socket in -lnet""... $ac_c" 1>&6 -echo "configure:2504: checking for socket in -lnet" >&5 -ac_lib_var=`echo net'_'socket | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lnet $LIBS $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - LIBS="-lnet $LIBS" -else - echo "$ac_t""no" 1>&6 -fi - # BeOS ;; esac @ 1.4 log @Don't check for libnet (we're not BeOS, after all). Addresses pkg/9005. @ text @d1 1 a1 1 $NetBSD$ @ 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 53 a53 50 Index: configure.in =================================================================== RCS file: /projects/cvsroot/python/dist/src/configure.in,v retrieving revision 1.83 retrieving revision 1.84 diff -c -r1.83 -r1.84 *** configure.in 1998/04/13 15:27:01 1.83 --- configure.in 1998/04/20 18:51:54 1.84 *************** *** 314,320 **** SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";; IRIX*/6*) case $CC in *gcc*) CCSHARED="-shared";; ! *) CCSHARED="-shared -all";; esac;; esac fi --- 314,320 ---- SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";; IRIX*/6*) case $CC in *gcc*) CCSHARED="-shared";; ! *) CCSHARED="";; esac;; esac fi Index: configure =================================================================== RCS file: /projects/cvsroot/python/dist/src/configure,v retrieving revision 1.76 retrieving revision 1.77 diff -c -r1.76 -r1.77 *** configure 1998/04/13 15:26:57 1.76 --- configure 1998/04/20 18:51:49 1.77 *************** *** 1865,1871 **** SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";; IRIX*/6*) case $CC in *gcc*) CCSHARED="-shared";; ! *) CCSHARED="-shared -all";; esac;; esac fi --- 1865,1871 ---- SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";; IRIX*/6*) case $CC in *gcc*) CCSHARED="-shared";; ! *) CCSHARED="";; esac;; esac fi @ 1.2 log @Update python to version 1.5.1 using package by Jaromir Dolecek. Fixes PR pkg/5361. @ text @@ 1.1 log @Add patch to fix python's problem with some national character sets. Fixes PR pkg/4960 by Jaromir Dolecek. @ text @d1 50 a50 35 --- Parser/tokenizer.c.orig Tue Apr 29 23:03:03 1997 +++ Parser/tokenizer.c Mon Feb 9 13:05:34 1998 @@@@ -46,6 +46,14 @@@@ /* Don't ever change this -- it would break the portability of Python code */ #define TABSIZE 8 +/* Convert a possibly signed character to a nonnegative int */ +/* XXX This assumes characters are 8 bits wide */ +#ifdef __CHAR_UNSIGNED__ +#define Py_CHARMASK(c) (c) +#else +#define Py_CHARMASK(c) ((c) & 0xff) +#endif + /* Forward */ static struct tok_state *tok_new Py_PROTO((void)); static int tok_nextc Py_PROTO((struct tok_state *tok)); @@@@ -178,7 +186,7 @@@@ { for (;;) { if (tok->cur != tok->inp) { - return *tok->cur++; /* Fast path */ + return Py_CHARMASK(*tok->cur++); /* Fast path */ } if (tok->done != E_OK) return EOF; @@@@ -197,7 +205,7 @@@@ tok->buf = tok->cur; tok->lineno++; tok->inp = end; - return *tok->cur++; + return Py_CHARMASK(*tok->cur++); } if (tok->prompt != NULL) { char *new = PyOS_Readline(tok->prompt); @