summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2011-01-14 13:13:29 +0000
committerTorsten Veller <tove@gentoo.org>2011-01-14 13:13:29 +0000
commit466938e0ea14c36ff75dc8524d0b8d5c4ba603ef (patch)
treeac550f0e01afb0eb9faad91642a9720563ab4612 /dev-perl/Mail-Mbox-MessageParser
parentFix src_test, thanks to sgjesse's help on v8-users ML. (diff)
downloadgentoo-2-466938e0ea14c36ff75dc8524d0b8d5c4ba603ef.tar.gz
gentoo-2-466938e0ea14c36ff75dc8524d0b8d5c4ba603ef.tar.bz2
gentoo-2-466938e0ea14c36ff75dc8524d0b8d5c4ba603ef.zip
Convert ebuild version. Fix cpan #58053
(Portage version: 2.2.0_alpha15/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/Mail-Mbox-MessageParser')
-rw-r--r--dev-perl/Mail-Mbox-MessageParser/ChangeLog11
-rw-r--r--dev-perl/Mail-Mbox-MessageParser/Mail-Mbox-MessageParser-1.500.200.ebuild (renamed from dev-perl/Mail-Mbox-MessageParser/Mail-Mbox-MessageParser-1.50.02.ebuild)9
-rw-r--r--dev-perl/Mail-Mbox-MessageParser/files/1.500.200-warning.patch22
3 files changed, 35 insertions, 7 deletions
diff --git a/dev-perl/Mail-Mbox-MessageParser/ChangeLog b/dev-perl/Mail-Mbox-MessageParser/ChangeLog
index 0eba119b8aec..1a43dad68d0a 100644
--- a/dev-perl/Mail-Mbox-MessageParser/ChangeLog
+++ b/dev-perl/Mail-Mbox-MessageParser/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-perl/Mail-Mbox-MessageParser
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mail-Mbox-MessageParser/ChangeLog,v 1.36 2009/08/31 08:27:04 tove Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mail-Mbox-MessageParser/ChangeLog,v 1.37 2011/01/14 13:13:28 tove Exp $
+
+*Mail-Mbox-MessageParser-1.500.200 (14 Jan 2011)
+
+ 14 Jan 2011; Torsten Veller <tove@gentoo.org> +files/1.500.200-warning.patch,
+ -Mail-Mbox-MessageParser-1.50.02.ebuild,
+ +Mail-Mbox-MessageParser-1.500.200.ebuild:
+ Convert ebuild version. Fix cpan #58053
*Mail-Mbox-MessageParser-1.50.02 (31 Aug 2009)
diff --git a/dev-perl/Mail-Mbox-MessageParser/Mail-Mbox-MessageParser-1.50.02.ebuild b/dev-perl/Mail-Mbox-MessageParser/Mail-Mbox-MessageParser-1.500.200.ebuild
index f38d0d95e88f..086b01ee8ea6 100644
--- a/dev-perl/Mail-Mbox-MessageParser/Mail-Mbox-MessageParser-1.50.02.ebuild
+++ b/dev-perl/Mail-Mbox-MessageParser/Mail-Mbox-MessageParser-1.500.200.ebuild
@@ -1,13 +1,11 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mail-Mbox-MessageParser/Mail-Mbox-MessageParser-1.50.02.ebuild,v 1.1 2009/08/31 08:27:04 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mail-Mbox-MessageParser/Mail-Mbox-MessageParser-1.500.200.ebuild,v 1.1 2011/01/14 13:13:28 tove Exp $
EAPI=2
-inherit versionator
-MY_P=${PN}-$(delete_version_separator 2)
-S=${WORKDIR}/${MY_P}
MODULE_AUTHOR=DCOPPIT
+MODULE_VERSION=1.5002
inherit perl-module
DESCRIPTION="Manipulation of electronic mail addresses"
@@ -23,3 +21,4 @@ DEPEND="dev-perl/Text-Diff
RDEPEND="${DEPEND}"
SRC_TEST=do
+PATCHES=( "${FILESDIR}"/${PV}-warning.patch )
diff --git a/dev-perl/Mail-Mbox-MessageParser/files/1.500.200-warning.patch b/dev-perl/Mail-Mbox-MessageParser/files/1.500.200-warning.patch
new file mode 100644
index 000000000000..c9e0d48e9ad0
--- /dev/null
+++ b/dev-perl/Mail-Mbox-MessageParser/files/1.500.200-warning.patch
@@ -0,0 +1,22 @@
+https://rt.cpan.org/Public/Bug/Display.html?id=58053
+
+--- a/lib/Mail/Mbox/MessageParser.pm
++++ b/lib/Mail/Mbox/MessageParser.pm
+@@ -294,7 +294,7 @@
+ dprint "Calling \"$filter_command\" to decompress file \"$file_name\".";
+
+ use vars qw(*OLDSTDERR);
+- open OLDSTDERR,">&STDERR" or die "Can't save STDERR: $!\n";
++ open OLDSTDERR, ">&", \*STDERR or die "Can't save STDERR: $!\n";
+ open STDERR,">" . File::Spec->devnull()
+ or die "Can't redirect STDERR to " . File::Spec->devnull() . ": $!\n";
+
+@@ -305,7 +305,7 @@
+
+ binmode $file_handle;
+
+- open STDERR,">&OLDSTDERR" or die "Can't restore STDERR: $!\n";
++ open STDERR, ">&", \*OLDSTDERR or die "Can't restore STDERR: $!\n";
+
+ if (eof($file_handle))
+ {