From a6a39c1fdcda0a9f9e8af61bcca99da281683677 Mon Sep 17 00:00:00 2001 From: schmonz Date: Sun, 29 Jun 2014 16:19:38 +0000 Subject: Fix an archaic form of sub invocation, deprecated since 5.0.0 and finally an error in 5.20.0. --- mail/distribute/distinfo | 3 ++- mail/distribute/patches/patch-tmpl2c.pl | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 mail/distribute/patches/patch-tmpl2c.pl 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); + } + -- cgit v1.2.3