summaryrefslogtreecommitdiff
path: root/mail/im
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-09-06 12:18:19 +0000
committertaca <taca@pkgsrc.org>2010-09-06 12:18:19 +0000
commite7db344190ffe853c42a452a8d406dd600a200a8 (patch)
treef992f123912b13588d7764f3f2df319a531761ce /mail/im
parent9a49bd5990c2c934e6930660642a78c4e5e6a402 (diff)
downloadpkgsrc-e7db344190ffe853c42a452a8d406dd600a200a8.tar.gz
Stop warning with perl 5.12.
Bump PKGREVISION.
Diffstat (limited to 'mail/im')
-rw-r--r--mail/im/Makefile4
-rw-r--r--mail/im/distinfo4
-rw-r--r--mail/im/patches/patch-ab15
-rw-r--r--mail/im/patches/patch-ac15
4 files changed, 35 insertions, 3 deletions
diff --git a/mail/im/Makefile b/mail/im/Makefile
index 7acfb7ff7a2..6405cae5993 100644
--- a/mail/im/Makefile
+++ b/mail/im/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2010/08/21 16:35:00 seb Exp $
+# $NetBSD: Makefile,v 1.5 2010/09/06 12:19:45 taca Exp $
DISTNAME= im-150
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://tats.haun.org/im/
diff --git a/mail/im/distinfo b/mail/im/distinfo
index a71914fb728..49256c32877 100644
--- a/mail/im/distinfo
+++ b/mail/im/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.2 2010/02/19 11:53:43 obache Exp $
+$NetBSD: distinfo,v 1.3 2010/09/06 12:19:45 taca Exp $
SHA1 (im-150.tar.gz) = 4f6ec70d52fffc6c4a44831ebed6ac8e33a769d0
RMD160 (im-150.tar.gz) = 057142296747b8b2629e8d8265a221f703e7b27a
Size (im-150.tar.gz) = 267337 bytes
SHA1 (patch-aa) = 71bb1bed56be580c30f291360e7320a85a818087
+SHA1 (patch-ab) = 132c0026941cc48a24f49cf77b4dd0b25599a2e6
+SHA1 (patch-ac) = d66a6ea0e23865cc8d6dfb25a6472bd3ad48be68
diff --git a/mail/im/patches/patch-ab b/mail/im/patches/patch-ab
new file mode 100644
index 00000000000..0af33d60e0f
--- /dev/null
+++ b/mail/im/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2010/09/06 12:19:45 taca Exp $
+
+Fix for perl-5.12.
+
+--- IM/Config.pm.in.orig 2010-02-14 15:52:20.000000000 +0000
++++ IM/Config.pm.in
+@@ -487,7 +487,7 @@ sub set_selector($;$) {
+
+ foreach $s (split(',', $selector)) { ### xxx lc
+ next if ($s eq 'default');
+- unless (defined(%{$s})) {
++ unless (%{$s}) {
+ im_err("no 'case $s' in config file.\n");
+ return -1;
+ } else {
diff --git a/mail/im/patches/patch-ac b/mail/im/patches/patch-ac
new file mode 100644
index 00000000000..c249d26e956
--- /dev/null
+++ b/mail/im/patches/patch-ac
@@ -0,0 +1,15 @@
+$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);