summaryrefslogtreecommitdiff
path: root/mail/distribute
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2014-06-29 16:19:38 +0000
committerschmonz <schmonz@pkgsrc.org>2014-06-29 16:19:38 +0000
commit4b36e797c7f4a7209c2a4e8cf6d31744fbd7d90f (patch)
tree75851a96508485639bc016d4b9eb95e408984218 /mail/distribute
parent728b0ed02b1a21a256f44da6bb9f86e25beac573 (diff)
downloadpkgsrc-4b36e797c7f4a7209c2a4e8cf6d31744fbd7d90f.tar.gz
Fix an archaic form of sub invocation, deprecated since 5.0.0 and
finally an error in 5.20.0.
Diffstat (limited to 'mail/distribute')
-rw-r--r--mail/distribute/distinfo3
-rw-r--r--mail/distribute/patches/patch-tmpl2c.pl15
2 files changed, 17 insertions, 1 deletions
diff --git a/mail/distribute/distinfo b/mail/distribute/distinfo
index 70181ab5b51..ac646517e8b 100644
--- a/mail/distribute/distinfo
+++ b/mail/distribute/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2010/02/14 17:56:14 joerg Exp $
+$NetBSD: distinfo,v 1.6 2014/06/29 16:19:38 schmonz Exp $
SHA1 (distribute/distribute-2.1-pl19.tar.gz) = f33f63d42d0233eceec759dc0378a914087c0344
RMD160 (distribute/distribute-2.1-pl19.tar.gz) = 5ffb23682176a86291eb5374ea98c9c5d002947d
@@ -27,3 +27,4 @@ Size (distribute/patch.26e.gz) = 12560 bytes
SHA1 (patch-aa) = 6c23421d76b166acffc782271f37e405b45617ed
SHA1 (patch-ab) = 4c07a6ae9bb1e9dacd33db96624d2c2fefbb9240
SHA1 (patch-ac) = 75a3956d6e7b53473eb0a3ad62b4ce261ccc8bf6
+SHA1 (patch-tmpl2c.pl) = 5cdf21381f98df64b37609173e35448427edf231
diff --git a/mail/distribute/patches/patch-tmpl2c.pl b/mail/distribute/patches/patch-tmpl2c.pl
new file mode 100644
index 00000000000..1766b99ed6d
--- /dev/null
+++ b/mail/distribute/patches/patch-tmpl2c.pl
@@ -0,0 +1,15 @@
+$NetBSD: patch-tmpl2c.pl,v 1.1 2014/06/29 16:19:38 schmonz Exp $
+
+do SUBROUTINE(LIST) was long deprecated and is an error in 5.20.0.
+
+--- tmpl2c.pl.orig 2014-06-29 16:09:52.000000000 +0000
++++ tmpl2c.pl
+@@ -205,7 +205,7 @@ sub convert {
+ return (undef, undef) unless $icode = $icode || &getcode(*_);
+ $ocode = 'jis' unless $ocode;
+ local(*convf) = $convf{$icode, $ocode};
+- do convf(*_);
++ convf(*_);
+ (*convf, $icode);
+ }
+