diff options
author | drochner <drochner> | 2003-04-15 16:52:28 +0000 |
---|---|---|
committer | drochner <drochner> | 2003-04-15 16:52:28 +0000 |
commit | 7acd7836b0a0adadc1e4ae5cddc15f2696602b4e (patch) | |
tree | 383bfe8662eb6e01b7c7a2e3c053b28c439ef9c6 /lang/python21-pth | |
parent | 730fbb4665997a6e0c6cd742afc16e7942cf1076 (diff) | |
download | pkgsrc-7acd7836b0a0adadc1e4ae5cddc15f2696602b4e.tar.gz |
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.
Diffstat (limited to 'lang/python21-pth')
-rw-r--r-- | lang/python21-pth/distinfo | 3 | ||||
-rw-r--r-- | lang/python21-pth/patches/patch-bb | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/python21-pth/distinfo b/lang/python21-pth/distinfo index 829e646925e..dfe0871b382 100644 --- a/lang/python21-pth/distinfo +++ b/lang/python21-pth/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2003/02/11 17:52:51 drochner Exp $ +$NetBSD: distinfo,v 1.6 2003/04/15 16:52:30 drochner Exp $ SHA1 (Python-2.1.3.tgz) = 7042a5c5fd60d334c0ac227885d68a4c305713b4 Size (Python-2.1.3.tgz) = 6194432 bytes @@ -13,3 +13,4 @@ SHA1 (patch-ah) = 637dfe0cb4d031760f1085fb7921c0ae77158221 SHA1 (patch-ai) = 6420f2994109b8cce55674ea14d7a974f9e039c6 SHA1 (patch-aj) = ca232f769b57f617496f5c8701a0a32fe55f1fd9 SHA1 (patch-ba) = 5e47b2e75ea40682216e42fbf8b971432836afdc +SHA1 (patch-bb) = d70f1c25051d121d33934fa8715332c1d1caff04 diff --git a/lang/python21-pth/patches/patch-bb b/lang/python21-pth/patches/patch-bb new file mode 100644 index 00000000000..abc7a589fc6 --- /dev/null +++ b/lang/python21-pth/patches/patch-bb @@ -0,0 +1,13 @@ +$NetBSD: patch-bb,v 1.1 2003/04/15 16:52:29 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: |