diff options
author | drochner <drochner@pkgsrc.org> | 2003-04-08 18:32:59 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2003-04-08 18:32:59 +0000 |
commit | c02f8a41c0fe42ccaeea16103bb2203db2fb3a3a (patch) | |
tree | 021096117c3a5eff2cdd62e2ab1cf14c1763a148 /lang/python22 | |
parent | 40f8f98ee0616072d9fa9ab7c6eeeb025883df18 (diff) | |
download | pkgsrc-c02f8a41c0fe42ccaeea16103bb2203db2fb3a3a.tar.gz |
modify a selftest which uses unportable struct packing so that it
succeeds on alpha
Diffstat (limited to 'lang/python22')
-rw-r--r-- | lang/python22/distinfo | 3 | ||||
-rw-r--r-- | lang/python22/patches/patch-bb | 13 |
2 files changed, 15 insertions, 1 deletions
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: |