summaryrefslogtreecommitdiff
path: root/lang/python20/patches/patch-bb
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python20/patches/patch-bb')
-rw-r--r--lang/python20/patches/patch-bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/python20/patches/patch-bb b/lang/python20/patches/patch-bb
new file mode 100644
index 00000000000..d4701552bea
--- /dev/null
+++ b/lang/python20/patches/patch-bb
@@ -0,0 +1,18 @@
+$NetBSD: patch-bb,v 1.1 2004/08/29 10:44:19 recht Exp $
+
+--- Lib/test/test_fcntl.py.orig 2004-08-28 19:24:26.000000000 +0200
++++ Lib/test/test_fcntl.py 2004-08-28 19:25:18.000000000 +0200
+@@ -16,11 +16,11 @@
+ if verbose:
+ print 'Status from fnctl with O_NONBLOCK: ', rv
+
+-if sys.platform in ('netbsd1', 'Darwin1.2',
++if sys.platform in ('netbsd1', 'netbsd2', 'Darwin1.2',
+ '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']:
+ lockdata = struct.pack('hhlllii', FCNTL.F_WRLCK, 0, 0, 0, 0, 0, 0)
+ else: