summaryrefslogtreecommitdiff
path: root/textproc/po4a/patches/patch-ab
blob: 4d9aa1c66183335c536acf088500fa11fdbe1337 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ab,v 1.1 2008/06/04 22:10:11 tonnerre Exp $

--- lib/Locale/Po4a/Po.pm.orig	2005-12-09 18:24:46.000000000 +0100
+++ lib/Locale/Po4a/Po.pm
@@ -426,14 +426,14 @@ sub gettextize { 
 	# Make sure both type are the same
 	#
 	if ($typeorig ne $typetrans){
-	    $pores->write("/tmp/gettextization.failed.po");
+	    $pores->write("gettextization.failed.po");
 	    die wrap_msg(dgettext("po4a",
 	    	"po4a gettextization: Structure disparity between original and translated files:\n".
 		"msgid (at %s) is of type '%s' while\n".
 		"msgstr (at %s) is of type '%s'.\n".
 		"Original text: %s\n".
 		"Translated text: %s\n".
-	        "(result so far dumped to /tmp/gettextization.failed.po)")."%s",
+	        "(result so far dumped to gettextization.failed.po)")."%s",
 	        $reforig, $typeorig, $reftrans, $typetrans, $orig, $trans,$toobad);
 	}