summaryrefslogtreecommitdiff
path: root/lang/python21/patches/patch-bb
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python21/patches/patch-bb')
-rw-r--r--lang/python21/patches/patch-bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/python21/patches/patch-bb b/lang/python21/patches/patch-bb
new file mode 100644
index 00000000000..f23f603c229
--- /dev/null
+++ b/lang/python21/patches/patch-bb
@@ -0,0 +1,13 @@
+$NetBSD: patch-bb,v 1.1 2003/04/15 16:52:28 drochner Exp $
+
+--- 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 @@
+ '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: