head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.10 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.8 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.6 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.4 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.2 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.4.0.30 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.28 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.26 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.24 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.22 pkgsrc-2008Q1:1.4.0.20 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.18 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.16 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.14 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.12 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.10 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.8 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.6 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.4 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.2 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.3.0.4 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.2 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.2.0.6 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.4 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.2 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.1.0.6 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.4 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.2 pkgsrc-2003Q4-base:1.1; locks; strict; comment @# @; 1.5 date 2009.02.09.21.09.21; author joerg; state dead; branches; next 1.4; 1.4 date 2005.11.08.18.14.49; author joerg; state Exp; branches; next 1.3; 1.3 date 2005.05.29.11.07.49; author minskim; state Exp; branches; next 1.2; 1.2 date 2004.08.29.10.44.19; author recht; state Exp; branches; next 1.1; 1.1 date 2003.04.15.16.52.28; author drochner; state Exp; branches; next ; desc @@ 1.5 log @Remove Python 2.1 support. @ text @$NetBSD: patch-bb,v 1.4 2005/11/08 18:14:49 joerg Exp $ --- Lib/test/test_fcntl.py.orig 2001-04-11 15:58:20.000000000 -0500 +++ Lib/test/test_fcntl.py @@@@ -16,11 +16,11 @@@@ rv = fcntl.fcntl(f.fileno(), FCNTL.F_SET if verbose: print 'Status from fnctl with O_NONBLOCK: ', rv -if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin1', +if sys.platform in ('netbsd1', 'netbsd2', 'netbsd3', 'Darwin1.2', 'darwin1','dragonfly1' 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5', 'bsdos2', 'bsdos3', 'bsdos4', 'openbsd', 'openbsd2'): - lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, FCNTL.F_WRLCK, 0) + lockdata = struct.pack('ixxxxixxxxihh', 0, 0, 0, FCNTL.F_WRLCK, 0) elif sys.platform in ['aix3', 'aix4', 'hp-uxB', 'unixware7']: lockdata = struct.pack('hhlllii', FCNTL.F_WRLCK, 0, 0, 0, 0, 0, 0) else: @ 1.4 log @Add DragonFly support. Use PTHREAD_* variables to find pthread_create and hope it doesn't break anything. @ text @d1 1 a1 1 $NetBSD: patch-bb,v 1.3 2005/05/29 11:07:49 minskim Exp $ @ 1.3 log @Teach about NetBSD 3.x. PKGREVISION will be bumped after another change. @ text @d1 1 a1 1 $NetBSD$ d10 1 a10 1 +if sys.platform in ('netbsd1', 'netbsd2', 'netbsd3', 'Darwin1.2', 'darwin1', @ 1.2 log @Extend some checks to also test for netbsd2 as sys.platform. Bump PKGREVISIONS accordingly. @ text @d3 3 a5 3 --- Lib/test/test_fcntl.py.orig 2001-04-11 22:58:20.000000000 +0200 +++ Lib/test/test_fcntl.py 2004-08-28 12:12:17.000000000 +0200 @@@@ -16,11 +16,11 @@@@ d10 1 a10 1 +if sys.platform in ('netbsd1', 'netbsd2', 'Darwin1.2', 'darwin1', @ 1.1 log @Make the fcntl(F_WRLCK) selftest work on alpha etc here as well - not as clean as in the Python-2.2 version because 2.1 doesn't have a "long long" for struct packing, but good enough because these fields are "0" anyway. @ text @d3 8 a10 3 --- Lib/test/test_fcntl.py.orig 2003-04-15 15:46:49.000000000 +0200 +++ Lib/test/test_fcntl.py 2003-04-15 15:48:42.000000000 +0200 @@@@ -20,7 +20,7 @@@@ @