diff options
author | drochner <drochner> | 2003-04-08 18:32:59 +0000 |
---|---|---|
committer | drochner <drochner> | 2003-04-08 18:32:59 +0000 |
commit | 1e6371aaf191e92a3b7e302400cf7b7012172d7c (patch) | |
tree | 021096117c3a5eff2cdd62e2ab1cf14c1763a148 | |
parent | 41f7be2fd24ea9c5afd5cb2d4ed67a795b1c31d9 (diff) | |
download | pkgsrc-1e6371aaf191e92a3b7e302400cf7b7012172d7c.tar.gz |
modify a selftest which uses unportable struct packing so that it
succeeds on alpha
-rw-r--r-- | lang/python22-pth/distinfo | 3 | ||||
-rw-r--r-- | lang/python22-pth/patches/patch-bb | 13 | ||||
-rw-r--r-- | lang/python22/distinfo | 3 | ||||
-rw-r--r-- | lang/python22/patches/patch-bb | 13 |
4 files changed, 30 insertions, 2 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: diff --git a/lang/python22/distinfo b/lang/python22/distinfo index a3702b0e2e1..e6828029202 100644 --- a/lang/python22/distinfo +++ b/lang/python22/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2002/10/16 15:51:03 tsarna Exp $ +$NetBSD: distinfo,v 1.9 2003/04/08 18:33:00 drochner Exp $ SHA1 (Python-2.2.2.tgz) = 52e5dc6273c83973f8fc92a7f19c15f97e59fc0e Size (Python-2.2.2.tgz) = 6669400 bytes @@ -6,3 +6,4 @@ SHA1 (patch-aa) = b6320ac24c1924d6e7924b6f4d6a42d146e2e8ab SHA1 (patch-ab) = aa06824d9f595a24aaddc96c83f31646f522ab09 SHA1 (patch-ae) = aefeec78e25631a6e9e2aa047dce12c9c522715e SHA1 (patch-af) = a2b23859941766319f638e40c49b5af3f504ef52 +SHA1 (patch-bb) = 238f713b049fe2d9cd7e1142dfd0d8c32a53982e diff --git a/lang/python22/patches/patch-bb b/lang/python22/patches/patch-bb new file mode 100644 index 00000000000..5bf77cd556d --- /dev/null +++ b/lang/python22/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: |