diff options
author | Torsten Veller <tove@gentoo.org> | 2011-01-14 13:13:29 +0000 |
---|---|---|
committer | Torsten Veller <tove@gentoo.org> | 2011-01-14 13:13:29 +0000 |
commit | 466938e0ea14c36ff75dc8524d0b8d5c4ba603ef (patch) | |
tree | ac550f0e01afb0eb9faad91642a9720563ab4612 /dev-perl/Mail-Mbox-MessageParser/files/1.500.200-warning.patch | |
parent | Fix src_test, thanks to sgjesse's help on v8-users ML. (diff) | |
download | gentoo-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/files/1.500.200-warning.patch')
-rw-r--r-- | dev-perl/Mail-Mbox-MessageParser/files/1.500.200-warning.patch | 22 |
1 files changed, 22 insertions, 0 deletions
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)) + { |