Fix MHonArc following the perl update, there is another case of "Can't use
'defined(%hash)'" which is now an error ("Compilation failed in require") rather than just a warning.
This commit is contained in:
parent
e615973c5d
commit
ae959cd48b
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.31 2014/09/08 17:44:18 jca Exp $
|
||||
# $OpenBSD: Makefile,v 1.32 2017/03/02 09:47:40 sthen Exp $
|
||||
|
||||
COMMENT= highly customizable e-mail to HTML converter
|
||||
|
||||
DISTNAME= MHonArc-2.6.19
|
||||
REVISION= 0
|
||||
PKGNAME= ${DISTNAME:L}
|
||||
CATEGORIES= www mail
|
||||
|
||||
|
12
www/mhonarc/patches/patch-lib_mhamain_pl
Normal file
12
www/mhonarc/patches/patch-lib_mhamain_pl
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-lib_mhamain_pl,v 1.3 2017/03/02 09:47:40 sthen Exp $
|
||||
--- lib/mhamain.pl.orig Thu Mar 2 09:38:22 2017
|
||||
+++ lib/mhamain.pl Thu Mar 2 09:38:33 2017
|
||||
@@ -1562,7 +1562,7 @@ sub signal_catch {
|
||||
##
|
||||
sub defineIndex2MsgId {
|
||||
no warnings qw(deprecated);
|
||||
- if (!defined(%Index2MsgId)) {
|
||||
+ if (!%Index2MsgId) {
|
||||
foreach (keys %MsgId) {
|
||||
$Index2MsgId{$MsgId{$_}} = $_;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user