Fix build with Python 2.5.

This commit is contained in:
joerg 2009-02-11 22:52:42 +00:00
parent 29e895b157
commit d6aa963e76
2 changed files with 10 additions and 4 deletions

View file

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.5 2007/12/01 19:25:23 rillig Exp $
$NetBSD: distinfo,v 1.6 2009/02/11 22:52:42 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-aa) = a7841483579e2d695bfe28fc9469a431c637d1a3
SHA1 (patch-ab) = 4883418558edb2be1086a20fa74355d509d6375e
SHA1 (patch-ac) = 9eff8edfd82a028b84faf2ec91065557b7e3a0ea
SHA1 (patch-ad) = 4fab595bd17ec18dd951c2e32e7e0664aac145f1

View file

@ -1,8 +1,14 @@
$NetBSD: patch-aa,v 1.3 2006/06/29 12:47:19 joerg Exp $
$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
@@ -78,7 +78,7 @@ def generate():
@@ -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