summaryrefslogtreecommitdiff
path: root/lang/python23-pth/patches/patch-af
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2003-12-08 21:13:56 +0000
committerrecht <recht@pkgsrc.org>2003-12-08 21:13:56 +0000
commitd5dc8a4e54a19470f02f1b7f76da73f4000c0776 (patch)
tree70f4cf85affe88fccec44ff34b037ea0db35eb45 /lang/python23-pth/patches/patch-af
parent53ea1a025305bb572a58900ddd2bcd8cb020005d (diff)
downloadpkgsrc-d5dc8a4e54a19470f02f1b7f76da73f4000c0776.tar.gz
Update to Python 2.3.2
Changes in Python: Quite a few fixes.. See NEWS for details. Changes in the pkg: - add FreeBSD patches from the FreeBSD port - add fix for a fatal bug in type's GC handling causes segfaults (via FreeBSD port) see http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Misc/NEWS?r1=1.831.4.75&r2=1.831.4.76&diff_format=u - always build the db 1.85 module (on all platforms)
Diffstat (limited to 'lang/python23-pth/patches/patch-af')
-rw-r--r--lang/python23-pth/patches/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/python23-pth/patches/patch-af b/lang/python23-pth/patches/patch-af
new file mode 100644
index 00000000000..8401fc8422e
--- /dev/null
+++ b/lang/python23-pth/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2003/12/08 21:13:56 recht Exp $
+
+--- Lib/test/test_fcntl.py.orig 2002-07-23 21:03:51.000000000 +0200
++++ Lib/test/test_fcntl.py
+@@ -24,7 +24,7 @@ if sys.platform in ('netbsd1', 'Darwin1.
+ 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
+ 'bsdos2', 'bsdos3', 'bsdos4',
+ 'openbsd', 'openbsd2', 'openbsd3'):
+- lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, fcntl.F_WRLCK, 0)
++ lockdata = struct.pack('qqihh', 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)
+ elif sys.platform in ['os2emx']: