summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-06-29 12:47:19 +0000
committerjoerg <joerg@pkgsrc.org>2006-06-29 12:47:19 +0000
commit4f7b0b4b7f4902d1110d4533589addffb82cc891 (patch)
treebee70e3c3056af32780d3fa3dc34b1a4a3100759 /textproc
parent1531504ce67e4cf25fa52bc8b5da49d98583c210 (diff)
downloadpkgsrc-4f7b0b4b7f4902d1110d4533589addffb82cc891.tar.gz
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 (limited to 'textproc')
-rw-r--r--textproc/py-FourSuite/Makefile4
-rw-r--r--textproc/py-FourSuite/distinfo3
-rw-r--r--textproc/py-FourSuite/patches/patch-aa13
3 files changed, 17 insertions, 3 deletions
diff --git a/textproc/py-FourSuite/Makefile b/textproc/py-FourSuite/Makefile
index 283de8233b2..1956927a22b 100644
--- a/textproc/py-FourSuite/Makefile
+++ b/textproc/py-FourSuite/Makefile
@@ -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 --git a/textproc/py-FourSuite/distinfo b/textproc/py-FourSuite/distinfo
index 44eb4a19f21..343ceea3a01 100644
--- a/textproc/py-FourSuite/distinfo
+++ b/textproc/py-FourSuite/distinfo
@@ -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 --git a/textproc/py-FourSuite/patches/patch-aa b/textproc/py-FourSuite/patches/patch-aa
new file mode 100644
index 00000000000..bd866f16421
--- /dev/null
+++ b/textproc/py-FourSuite/patches/patch-aa
@@ -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