summaryrefslogtreecommitdiff
path: root/textproc/py-FourSuite/patches/patch-aa
blob: 0a0b8c667cf190a1b726811e9ffc72de6497dcd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-aa,v 1.4 2009/02/11 22:52:42 joerg Exp $

--- Ft/Lib/DistExt/Tools/msgfmt.py.orig	2006-06-29 12:29:20.000000000 +0000
+++ Ft/Lib/DistExt/Tools/msgfmt.py
@@ -1,4 +1,5 @@
 #! /usr/bin/env python
+# -*- coding: latin-1
 
 # Written by Martin v. Löwis <loewis@informatik.hu-berlin.de>
 
@@ -78,7 +79,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