From: Rafael Garcia-Suarez Date: Wed, 16 Sep 2009 09:34:17 +0000 (+0200) Subject: Upgrade to IO::Zlib 1.10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bbbe8766bf3d265389512f646c61d5943c5668fe;p=p5sagit%2Fp5-mst-13.2.git Upgrade to IO::Zlib 1.10 --- diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 92a379c..3c1a84a 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -803,7 +803,7 @@ use File::Glob qw(:case); 'IO::Zlib' => { 'MAINTAINER' => 'tomhughes', - 'DISTRIBUTION' => 'TOMHUGHES/IO-Zlib-1.09.tar.gz', + 'DISTRIBUTION' => 'TOMHUGHES/IO-Zlib-1.10.tar.gz', 'FILES' => q[ext/IO-Zlib], # Hmmm is this following bit needed now? CW 'MAP' => { 'Zlib.pm' => 'lib/IO/Zlib.pm', diff --git a/ext/IO-Zlib/lib/IO/Zlib.pm b/ext/IO-Zlib/lib/IO/Zlib.pm index 3dcce7e..55534b4 100644 --- a/ext/IO-Zlib/lib/IO/Zlib.pm +++ b/ext/IO-Zlib/lib/IO/Zlib.pm @@ -6,7 +6,7 @@ package IO::Zlib; -$VERSION = "1.09"; +$VERSION = "1.10"; =head1 NAME @@ -300,7 +300,7 @@ sub has_Compress_Zlib { BEGIN { eval { require Compress::Zlib }; - $has_Compress_Zlib = $@ ? 0 : 1; + $has_Compress_Zlib = $@ || $Compress::Zlib::VERSION < 2.000 ? 0 : 1; } use Symbol;