diff options
author | drochner <drochner> | 2003-04-08 18:32:59 +0000 |
---|---|---|
committer | drochner <drochner> | 2003-04-08 18:32:59 +0000 |
commit | a2725bfe3ee9eb841fff9a30b99bbfb63750f11c (patch) | |
tree | 021096117c3a5eff2cdd62e2ab1cf14c1763a148 /lang/python22-pth | |
parent | 0fd46bc73d31c384f1ddf4fe348ed8ed8c5efad4 (diff) | |
download | pkgsrc-a2725bfe3ee9eb841fff9a30b99bbfb63750f11c.tar.gz |
modify a selftest which uses unportable struct packing so that it
succeeds on alpha
Diffstat (limited to 'lang/python22-pth')
-rw-r--r-- | lang/python22-pth/distinfo | 3 | ||||
-rw-r--r-- | lang/python22-pth/patches/patch-bb | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/python22-pth/distinfo b/lang/python22-pth/distinfo index 35ba1f400ff..be9079e1555 100644 --- a/lang/python22-pth/distinfo +++ b/lang/python22-pth/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1.1.1 2002/10/25 10:48:47 drochner Exp $ +$NetBSD: distinfo,v 1.2 2003/04/08 18:33:00 drochner Exp $ SHA1 (Python-2.2.2.tgz) = 52e5dc6273c83973f8fc92a7f19c15f97e59fc0e Size (Python-2.2.2.tgz) = 6669400 bytes @@ -10,3 +10,4 @@ SHA1 (patch-ag) = 46ce7c0e3dfdeb971a253bdcbbdd19b10a78c6c2 SHA1 (patch-ah) = 2a068e6adb789397c64dc7b6ce8901c677edb13f SHA1 (patch-ai) = 252f70aa3a9a0b2cca4810f2c47eba0e988da073 SHA1 (patch-ba) = 5e47b2e75ea40682216e42fbf8b971432836afdc +SHA1 (patch-bb) = 238f713b049fe2d9cd7e1142dfd0d8c32a53982e diff --git a/lang/python22-pth/patches/patch-bb b/lang/python22-pth/patches/patch-bb new file mode 100644 index 00000000000..5bf77cd556d --- /dev/null +++ b/lang/python22-pth/patches/patch-bb @@ -0,0 +1,13 @@ +$NetBSD: patch-bb,v 1.1 2003/04/08 18:32:59 drochner Exp $ + +--- Lib/test/test_fcntl.py.orig Tue Apr 8 16:07:57 2003 ++++ Lib/test/test_fcntl.py Tue Apr 8 16:08:04 2003 +@@ -20,7 +20,7 @@ + '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) + else: |