pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-FourSuite Python 2.4 doesn't treat values ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b416fb1df31
branches:  trunk
changeset: 515244:6b416fb1df31
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jun 29 12:47:19 2006 +0000

description:
Python 2.4 doesn't treat values over 0x80000000 as signed integers on
32bit platforms, breaking the struct.pack call for the magic number.
Force it to use an unsigned value instead. Bump revision.

diffstat:

 textproc/py-FourSuite/Makefile         |   4 ++--
 textproc/py-FourSuite/distinfo         |   3 ++-
 textproc/py-FourSuite/patches/patch-aa |  13 +++++++++++++
 3 files changed, 17 insertions(+), 3 deletions(-)

diffs (45 lines):

diff -r c8f840da4fea -r 6b416fb1df31 textproc/py-FourSuite/Makefile
--- a/textproc/py-FourSuite/Makefile    Thu Jun 29 12:17:53 2006 +0000
+++ b/textproc/py-FourSuite/Makefile    Thu Jun 29 12:47:19 2006 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.12 2006/06/04 11:39:11 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2006/06/29 12:47:19 joerg Exp $
 #
 
 DISTNAME=      4Suite-0.12.0a3
 PKGNAME=       ${PYPKGPREFIX}-FourSuite-0.12.0a3
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    textproc python
 MASTER_SITES=  ftp://ftp.fourthought.com/pub/4Suite/
 
diff -r c8f840da4fea -r 6b416fb1df31 textproc/py-FourSuite/distinfo
--- a/textproc/py-FourSuite/distinfo    Thu Jun 29 12:17:53 2006 +0000
+++ b/textproc/py-FourSuite/distinfo    Thu Jun 29 12:47:19 2006 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 14:48:48 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/06/29 12:47:19 joerg Exp $
 
 SHA1 (4Suite-0.12.0a3.tar.gz) = 55dacc82fe80157d1c1e6b2b1472f8c10c6dde80
 RMD160 (4Suite-0.12.0a3.tar.gz) = aa69393d1144f669861266f09d5ee2a55a10d5e4
 Size (4Suite-0.12.0a3.tar.gz) = 2306831 bytes
+SHA1 (patch-aa) = 38ddce6fa7b0cf88f7ac4a472b32866925b73c59
 SHA1 (patch-ab) = 4883418558edb2be1086a20fa74355d509d6375e
 SHA1 (patch-ac) = 9eff8edfd82a028b84faf2ec91065557b7e3a0ea
diff -r c8f840da4fea -r 6b416fb1df31 textproc/py-FourSuite/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-FourSuite/patches/patch-aa    Thu Jun 29 12:47:19 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2006/06/29 12:47:19 joerg Exp $
+
+--- Ft/Lib/DistExt/Tools/msgfmt.py.orig        2006-06-29 12:29:20.000000000 +0000
++++ Ft/Lib/DistExt/Tools/msgfmt.py
+@@ -78,7 +78,7 @@ def generate():
+         koffsets = koffsets + [l1, o1+keystart]
+         voffsets = voffsets + [l2, o2+valuestart]
+     offsets = koffsets + voffsets
+-    output = struct.pack("iiiiiii",
++    output = struct.pack("Iiiiiii",
+                          0x950412de,        # Magic
+                          0,                 # Version
+                          len(keys),         # # of entries



Home | Main Index | Thread Index | Old Index