FreeBSD Bugzilla – Attachment 121549 Details for
Bug 164560
[patch] www/mhonarc's deprecated use of defined()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-mhonarc_2_6_18.txt
patch-mhonarc_2_6_18.txt (text/plain), 4.34 KB, created by
Rickie Kerndt
on 2012-01-29 01:00:44 UTC
(
hide
)
Description:
patch-mhonarc_2_6_18.txt
Filename:
MIME Type:
Creator:
Rickie Kerndt
Created:
2012-01-29 01:00:44 UTC
Size:
4.34 KB
patch
obsolete
>--- Makefile.orig 2012-01-22 12:11:55.000000000 +0000 >+++ Makefile 2012-01-22 12:11:55.000000000 +0000 >@@ -7,12 +7,13 @@ > > PORTNAME= mhonarc > PORTVERSION= 2.6.18 >+PORTREVISION= 1 > CATEGORIES= www mail > MASTER_SITES= http://www.mhonarc.org/release/MHonArc/tar/ \ > http://www.oac.uci.edu/indiv/ehood/tar/ > DISTNAME= MHonArc-${PORTVERSION} > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= kerndtr@kerndt.com > COMMENT= WWW front end for mail archives > > USE_BZIP2= Yes >--- files/patch-lib__mhamain.pl.orig 2012-01-22 12:11:55.000000000 +0000 >+++ files/patch-lib__mhamain.pl 2012-01-22 12:11:55.000000000 +0000 >@@ -0,0 +1,11 @@ >+--- ./lib/mhamain.pl.orig 2012-01-16 14:28:02.000000000 -0800 >++++ ./lib/mhamain.pl 2012-01-16 14:31:22.000000000 -0800 >+@@ -1561,7 +1561,7 @@ >+ ## Create Index2MsgId if not defined >+ ## >+ sub defineIndex2MsgId { >+- if (!defined(%Index2MsgId)) { >++ if (!(%Index2MsgId)) { >+ foreach (keys %MsgId) { >+ $Index2MsgId{$MsgId{$_}} = $_; >+ } >--- files/patch-lib__mhopt.pl.orig 2012-01-22 12:11:55.000000000 +0000 >+++ files/patch-lib__mhopt.pl 2012-01-22 12:11:55.000000000 +0000 >@@ -0,0 +1,11 @@ >+--- ./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; >--- files/patch-lib__readmail.pl.orig 2012-01-22 12:11:55.000000000 +0000 >+++ files/patch-lib__readmail.pl 2012-01-22 12:11:55.000000000 +0000 >@@ -0,0 +1,74 @@ >+--- ./lib/readmail.pl.orig 2012-01-16 14:33:30.000000000 -0800 >++++ ./lib/readmail.pl 2012-01-16 14:35:37.000000000 -0800 >+@@ -117,9 +117,9 @@ >+ ## set to true. >+ >+ %MIMEDecoders = () >+- unless defined(%MIMEDecoders); >++ unless (%MIMEDecoders); >+ %MIMEDecodersSrc = () >+- unless defined(%MIMEDecodersSrc); >++ unless (%MIMEDecodersSrc); >+ >+ ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >+ ## %MIMECharSetConverters is the associative array for storing functions >+@@ -153,9 +153,9 @@ >+ ## string. >+ >+ %MIMECharSetConverters = () >+- unless defined(%MIMECharSetConverters); >++ unless (%MIMECharSetConverters); >+ %MIMECharSetConvertersSrc = () >+- unless defined(%MIMECharSetConvertersSrc); >++ unless (%MIMECharSetConvertersSrc); >+ >+ ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >+ ## %MIMEFilters is the associative array for storing functions that >+@@ -180,9 +180,9 @@ >+ ## that all functions are defined before invoking MAILread_body. >+ >+ %MIMEFilters = () >+- unless defined(%MIMEFilters); >++ unless (%MIMEFilters); >+ %MIMEFiltersSrc = () >+- unless defined(%MIMEFiltersSrc); >++ unless (%MIMEFiltersSrc); >+ >+ ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >+ ## %MIMEFiltersArgs is the associative array for storing any optional >+@@ -196,7 +196,7 @@ >+ ## listed for a function if both are applicable. >+ >+ %MIMEFiltersArgs = () >+- unless defined(%MIMEFiltersArgs); >++ unless (%MIMEFiltersArgs); >+ >+ ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >+ ## %MIMEExcs is the associative array listing which data types >+@@ -206,7 +206,7 @@ >+ ## Values => <should evaluate to a true expression> >+ >+ %MIMEExcs = () >+- unless defined(%MIMEExcs); >++ unless (%MIMEExcs); >+ >+ ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >+ ## %MIMEIncs is the associative array listing which data types >+@@ -220,7 +220,7 @@ >+ ## be used to only allow a well-defined set of content-types. >+ >+ %MIMEIncs = () >+- unless defined(%MIMEIncs); >++ unless (%MIMEIncs); >+ >+ ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >+ ## %MIMECharsetAliases is a mapping of charset names to charset names. >+@@ -231,7 +231,7 @@ >+ ## Values => real charset name >+ ## >+ %MIMECharsetAliases = () >+- unless defined(%MIMECharsetAliases); >++ unless (%MIMECharsetAliases); >+ >+ ##--------------------------------------------------------------------------- >+ ## Text entity-related variables >=
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 164560
:
121548
| 121549