openbsd-ports/www/mhonarc/patches/patch-lib_mhamain_pl
pascal 64ac5e1b7d - silence perl warnings about "defined(%hash)" being deprecated
- doesn't need groff
- specify GPL version

ok jasper@, Christian Rueger (maintainer)
2012-05-07 20:13:50 +00:00

14 lines
428 B
Plaintext

$OpenBSD: patch-lib_mhamain_pl,v 1.1 2012/05/07 20:13:50 pascal Exp $
defined(%hash) is deprecated
--- lib/mhamain.pl.orig Mon May 7 12:00:36 2012
+++ lib/mhamain.pl Mon May 7 12:01:44 2012
@@ -1561,7 +1561,7 @@ sub signal_catch {
## Create Index2MsgId if not defined
##
sub defineIndex2MsgId {
- if (!defined(%Index2MsgId)) {
+ if (!%Index2MsgId) {
foreach (keys %MsgId) {
$Index2MsgId{$MsgId{$_}} = $_;
}