summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/po4a/distinfo3
-rw-r--r--textproc/po4a/patches/patch-po4a-updatepo15
2 files changed, 17 insertions, 1 deletions
diff --git a/textproc/po4a/distinfo b/textproc/po4a/distinfo
index 0c192dc9a89..69f45f517ce 100644
--- a/textproc/po4a/distinfo
+++ b/textproc/po4a/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2011/11/30 10:13:38 he Exp $
+$NetBSD: distinfo,v 1.4 2013/06/18 19:24:07 wiz Exp $
SHA1 (po4a-0.23.tar.gz) = 749a7823c976befc6a84d443ef7225bd41477b59
RMD160 (po4a-0.23.tar.gz) = 79174c0ed576ac793495be7addb407d919f3daf9
@@ -6,3 +6,4 @@ Size (po4a-0.23.tar.gz) = 736399 bytes
SHA1 (patch-aa) = 53d0746c859a6e4b55bdeff4b39e181f129281dc
SHA1 (patch-ab) = 34295892323d9f86a9789c87aef0201422bea07a
SHA1 (patch-ac) = e97f3c54bd2f07ead841a58cf90d0e948f7beeab
+SHA1 (patch-po4a-updatepo) = f61eaf313796d19b8764ada77256fa17d4081a78
diff --git a/textproc/po4a/patches/patch-po4a-updatepo b/textproc/po4a/patches/patch-po4a-updatepo
new file mode 100644
index 00000000000..169515ed542
--- /dev/null
+++ b/textproc/po4a/patches/patch-po4a-updatepo
@@ -0,0 +1,15 @@
+$NetBSD: patch-po4a-updatepo,v 1.1 2013/06/18 19:24:07 wiz Exp $
+
+Fix perl-5.18 warning: tempfile cannot be called as method.
+
+--- po4a-updatepo.orig 2013-06-18 18:53:13.000000000 +0000
++++ po4a-updatepo
+@@ -178,7 +178,7 @@ map { die wrap_msg(gettext("po4a-updatep
+ if $_ eq '-' && !-e '-'} @pofiles;
+
+ my ($pot_filename);
+-(undef,$pot_filename)=File::Temp->tempfile("po4a-updatepoXXXX",
++(undef,$pot_filename)=File::Temp::tempfile("po4a-updatepoXXXX",
+ DIR => "/tmp",
+ SUFFIX => ".pot",
+ OPEN => 0,