freebsd-ports/www/mhonarc/files/patch-lib__mhopt.pl
Michael Scheidell 290a6cd7fb - patching *.pl files to remove deprecated use of defined(%a_hash) statements
- committer is now maintainer

PR:		ports/164560
Submitted by:	Rickie Kerndt <kerndtr@kerndt.com> (maintainer)
Approved by:	maintainer, gabor (mentor, implicit)
2012-01-29 06:34:59 +00:00

11 lines
421 B
Perl

--- ./lib/mhopt.pl.orig 2012-01-16 14:32:41.000000000 -0800
+++ ./lib/mhopt.pl 2012-01-16 14:33:10.000000000 -0800
@@ -864,7 +864,7 @@
##
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;