openbsd-ports/www/mhonarc/patches/patch-lib_mhopt_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
517 B
Plaintext

$OpenBSD: patch-lib_mhopt_pl,v 1.1 2012/05/07 20:13:50 pascal Exp $
defined(%hash) is deprecated
--- lib/mhopt.pl.orig Mon May 7 12:01:47 2012
+++ lib/mhopt.pl Mon May 7 12:02:00 2012
@@ -864,7 +864,7 @@ sub update_data_1_to_2 {
##
sub update_data_2_1_to_later {
# we can preserve filter arguments
- if (defined(%main::MIMEFiltersArgs)) {
+ if (%main::MIMEFiltersArgs) {
warn qq/ preserving MIMEARGS...\n/;
%readmail::MIMEFiltersArgs = %main::MIMEFiltersArgs;
$IsDefault{'MIMEARGS'} = 0;