diff options
author | bouyer <bouyer@pkgsrc.org> | 2015-09-26 14:30:24 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2015-09-26 14:30:24 +0000 |
commit | 27a4b588a2aad13d24aa5d8217d6fd5a37dba5d9 (patch) | |
tree | c0722496a677a243631c439c9b2e01dcf11ec16e /mail/mhonarc | |
parent | cfb69a9e493713933367a9e43b3c100d2021c278 (diff) | |
download | pkgsrc-27a4b588a2aad13d24aa5d8217d6fd5a37dba5d9.tar.gz |
defined(%hash) is not valid any more in perl 5.22; change to %hash
Diffstat (limited to 'mail/mhonarc')
-rw-r--r-- | mail/mhonarc/Makefile | 4 | ||||
-rw-r--r-- | mail/mhonarc/distinfo | 4 | ||||
-rw-r--r-- | mail/mhonarc/patches/patch-lib_mhamain.pl | 15 | ||||
-rw-r--r-- | mail/mhonarc/patches/patch-lib_mhopt.pl | 15 |
4 files changed, 35 insertions, 3 deletions
diff --git a/mail/mhonarc/Makefile b/mail/mhonarc/Makefile index 79956cc4707..88a1e286f08 100644 --- a/mail/mhonarc/Makefile +++ b/mail/mhonarc/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.38 2015/06/12 10:50:20 wiz Exp $ +# $NetBSD: Makefile,v 1.39 2015/09/26 14:30:24 bouyer Exp $ DISTNAME= MHonArc-2.6.19 PKGNAME= mhonarc-2.6.19 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= mail MASTER_SITES= http://www.mhonarc.org/release/MHonArc/tar/ EXTRACT_SUFX= .tar.bz2 diff --git a/mail/mhonarc/distinfo b/mail/mhonarc/distinfo index 6c975a63e01..28833335e6b 100644 --- a/mail/mhonarc/distinfo +++ b/mail/mhonarc/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.19 2014/04/22 22:32:18 schnoebe Exp $ +$NetBSD: distinfo,v 1.20 2015/09/26 14:30:24 bouyer Exp $ SHA1 (MHonArc-2.6.19.tar.bz2) = e8297b3da1ba3369a0292b2815cc356cbb7ff6bd RMD160 (MHonArc-2.6.19.tar.bz2) = 13614f38275795221131d7ba459c3a18d607c5cb Size (MHonArc-2.6.19.tar.bz2) = 1577790 bytes +SHA1 (patch-lib_mhamain.pl) = 56c0d55c11fb005f911b8430e5c683c834c861aa +SHA1 (patch-lib_mhopt.pl) = a077249040fc4f9b80380abd59c0472895983465 SHA1 (patch-lib_mhtxthtml.pl) = bfd6420fd9e0ffdbf1f781441f8c1b8b71ef94e7 diff --git a/mail/mhonarc/patches/patch-lib_mhamain.pl b/mail/mhonarc/patches/patch-lib_mhamain.pl new file mode 100644 index 00000000000..e495538a7e6 --- /dev/null +++ b/mail/mhonarc/patches/patch-lib_mhamain.pl @@ -0,0 +1,15 @@ +$NetBSD: patch-lib_mhamain.pl,v 1.3 2015/09/26 14:30:24 bouyer Exp $ + +perl 5.22 compatipility + +--- lib/mhamain.pl.orig 2015-09-26 12:30:58.000000000 +0200 ++++ lib/mhamain.pl 2015-09-26 12:31:37.000000000 +0200 +@@ -1562,7 +1562,7 @@ + ## + sub defineIndex2MsgId { + no warnings qw(deprecated); +- if (!defined(%Index2MsgId)) { ++ if (!%Index2MsgId) { + foreach (keys %MsgId) { + $Index2MsgId{$MsgId{$_}} = $_; + } diff --git a/mail/mhonarc/patches/patch-lib_mhopt.pl b/mail/mhonarc/patches/patch-lib_mhopt.pl new file mode 100644 index 00000000000..6b4d41aab84 --- /dev/null +++ b/mail/mhonarc/patches/patch-lib_mhopt.pl @@ -0,0 +1,15 @@ +$NetBSD: patch-lib_mhopt.pl,v 1.3 2015/09/26 14:30:24 bouyer Exp $ + +perl 5.22 compatipility + +--- lib/mhopt.pl.orig 2015-09-26 12:35:06.000000000 +0200 ++++ lib/mhopt.pl 2015-09-26 12:35:18.000000000 +0200 +@@ -865,7 +865,7 @@ + sub update_data_2_1_to_later { + no warnings qw(deprecated); + # we can preserve filter arguments +- if (defined(%main::MIMEFiltersArgs)) { ++ if (%main::MIMEFiltersArgs) { + warn qq/ preserving MIMEARGS...\n/; + %readmail::MIMEFiltersArgs = %main::MIMEFiltersArgs; + $IsDefault{'MIMEARGS'} = 0; |