head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.8 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.6 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.4 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.2 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.1.0.6 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.4 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.2 pkgsrc-2010Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2011.05.28.07.54.02; author obache; state dead; branches; next 1.1; 1.1 date 2010.09.06.12.19.45; author taca; state Exp; branches; next ; desc @@ 1.2 log @Update IM to 151. - Tiny changes for Perl 5.12. - Build scripts are updated. Use `sysconfdir' instead of `libdir' for the configuration file. ${DESTDIR) is prepended to each installed target. @ text @$NetBSD: patch-ac,v 1.1 2010/09/06 12:19:45 taca Exp $ Fix for perl-5.12. --- IM/Scan.pm.orig 2010-02-14 15:52:20.000000000 +0000 +++ IM/Scan.pm @@@@ -509,7 +509,7 @@@@ sub friendly_addr($$) { my($a, $f, $p); while (($a, $addr, $f) = &fetch_addr($addr, 1), $a ne '') { $a =~ s/\/[^@@]*//; - if (defined(%petnames) && $petnames{lc($a)}) { + if (%petnames && $petnames{lc($a)}) { $p = $petnames{lc($a)}; } elsif (!$need_addr && $f) { $p = &mime_decode_string($f); @ 1.1 log @Stop warning with perl 5.12. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @