$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 @@ -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