summaryrefslogtreecommitdiff
path: root/mail/p5-Mail-Box
diff options
context:
space:
mode:
authoris <is@pkgsrc.org>2013-12-27 12:47:07 +0000
committeris <is@pkgsrc.org>2013-12-27 12:47:07 +0000
commitfd3a4cad0d3929d37eebd0783d33c11b12c7f744 (patch)
tree5816294c1773eeb89e35602c560ff8eab9f4d305 /mail/p5-Mail-Box
parentac183c2f339dda30096f6a88c23ec1af1648b6e3 (diff)
downloadpkgsrc-fd3a4cad0d3929d37eebd0783d33c11b12c7f744.tar.gz
The "Venus" operator for overload-ing is '0+', not '+0'. Quick fix;
upstream versions 2.106 and later have this already.
Diffstat (limited to 'mail/p5-Mail-Box')
-rw-r--r--mail/p5-Mail-Box/Makefile4
-rw-r--r--mail/p5-Mail-Box/distinfo3
-rw-r--r--mail/p5-Mail-Box/patches/patch-lib_Message_Field.pm13
3 files changed, 17 insertions, 3 deletions
diff --git a/mail/p5-Mail-Box/Makefile b/mail/p5-Mail-Box/Makefile
index 0d63e549575..a10dfb725dd 100644
--- a/mail/p5-Mail-Box/Makefile
+++ b/mail/p5-Mail-Box/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.20 2013/12/09 14:17:49 obache Exp $
+# $NetBSD: Makefile,v 1.21 2013/12/27 12:47:07 is Exp $
DISTNAME= Mail-Box-2.102
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
diff --git a/mail/p5-Mail-Box/distinfo b/mail/p5-Mail-Box/distinfo
index 465535e6d28..30e615c4300 100644
--- a/mail/p5-Mail-Box/distinfo
+++ b/mail/p5-Mail-Box/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2012/02/11 03:21:35 hiramatsu Exp $
+$NetBSD: distinfo,v 1.8 2013/12/27 12:47:07 is Exp $
SHA1 (Mail-Box-2.102.tar.gz) = 28820bf3edf7d8175f53e318714c8066e1a80a73
RMD160 (Mail-Box-2.102.tar.gz) = abc9bf4dedc47b75f458a0636e6f1b57bd45d0e3
Size (Mail-Box-2.102.tar.gz) = 612927 bytes
SHA1 (patch-aa) = 91a9f9f42bf25df5dcaf27ffb0ce0ba5b0caefc4
+SHA1 (patch-lib_Message_Field.pm) = 838887204aa394b43a3ceaab9b399adbb55a540b
diff --git a/mail/p5-Mail-Box/patches/patch-lib_Message_Field.pm b/mail/p5-Mail-Box/patches/patch-lib_Message_Field.pm
new file mode 100644
index 00000000000..539db63b6a5
--- /dev/null
+++ b/mail/p5-Mail-Box/patches/patch-lib_Message_Field.pm
@@ -0,0 +1,13 @@
+$NetBSD: patch-lib_Message_Field.pm,v 1.1 2013/12/27 12:47:07 is Exp $
+
+--- lib/Mail/Message/Field.pm.orig 2012-01-04 08:35:33.000000000 +0000
++++ lib/Mail/Message/Field.pm
+@@ -22,7 +22,7 @@ my $default_wrap_length = 78;
+
+ use overload
+ qq("") => sub { $_[0]->unfoldedBody }
+- , '+0' => sub { $_[0]->toInt || 0 }
++ , '0+' => sub { $_[0]->toInt || 0 }
+ , bool => sub {1}
+ , cmp => sub { $_[0]->unfoldedBody cmp "$_[1]" }
+ , '<=>' => sub { $_[2] ? $_[1] <=> $_[0]->toInt : $_[0]->toInt <=> $_[1] }