In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/9ffe0f2ee36ba437b90034fb59b118abea257977?hp=155f4c250a9701391303ae7e38650ccff6f43b78>
- Log ----------------------------------------------------------------- commit 9ffe0f2ee36ba437b90034fb59b118abea257977 Author: Steve Hay <[email protected]> Date: Sat Aug 11 12:11:47 2012 +0100 Upgrade Compress-Raw-Zlib to 2.056 ----------------------------------------------------------------------- Summary of changes: Porting/Maintainers.pl | 2 +- cpan/Compress-Raw-Zlib/Changes | 5 +++++ cpan/Compress-Raw-Zlib/Zlib.xs | 6 +++--- cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 8678774..b2660b7 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -375,7 +375,7 @@ use File::Glob qw(:case); 'Compress::Raw::Zlib' => { 'MAINTAINER' => 'pmqs', - 'DISTRIBUTION' => 'PMQS/Compress-Raw-Zlib-2.055.tar.gz', + 'DISTRIBUTION' => 'PMQS/Compress-Raw-Zlib-2.056.tar.gz', 'FILES' => q[cpan/Compress-Raw-Zlib], 'EXCLUDED' => [ diff --git a/cpan/Compress-Raw-Zlib/Changes b/cpan/Compress-Raw-Zlib/Changes index a2501d8..75bd7b7 100644 --- a/cpan/Compress-Raw-Zlib/Changes +++ b/cpan/Compress-Raw-Zlib/Changes @@ -1,6 +1,11 @@ CHANGES ------- + 2.056 10 August 2012 + + * Fix C++ build issue + Thanks to Karl Williamson for supplying the patch. + 2.055 4 August 2012 * Fix misuse of magic in API diff --git a/cpan/Compress-Raw-Zlib/Zlib.xs b/cpan/Compress-Raw-Zlib/Zlib.xs index 5b0378d..9f1d7a1 100644 --- a/cpan/Compress-Raw-Zlib/Zlib.xs +++ b/cpan/Compress-Raw-Zlib/Zlib.xs @@ -997,7 +997,7 @@ deflate (s, buf, output) if (s->stream.avail_out == 0) { /* out of space in the output buffer so make it bigger */ - s->stream.next_out = Sv_Grow(output, SvLEN(output) + bufinc) ; + s->stream.next_out = (Bytef*) Sv_Grow(output, SvLEN(output) + bufinc) ; cur_length += increment ; s->stream.next_out += cur_length ; increment = bufinc ; @@ -1098,7 +1098,7 @@ flush(s, output, f=Z_FINISH) for (;;) { if (s->stream.avail_out == 0) { /* consumed all the available output, so extend it */ - s->stream.next_out = Sv_Grow(output, SvLEN(output) + bufinc) ; + s->stream.next_out = (Bytef*) Sv_Grow(output, SvLEN(output) + bufinc) ; cur_length += increment ; s->stream.next_out += cur_length ; increment = bufinc ; @@ -1388,7 +1388,7 @@ inflate (s, buf, output, eof=FALSE) while (RETVAL == Z_OK) { if (s->stream.avail_out == 0) { /* out of space in the output buffer so make it bigger */ - s->stream.next_out = Sv_Grow(output, SvLEN(output) + bufinc +1) ; + s->stream.next_out = (Bytef*) Sv_Grow(output, SvLEN(output) + bufinc +1) ; cur_length += increment ; s->stream.next_out += cur_length ; increment = bufinc ; diff --git a/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm b/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm index 1ed22c5..08990f5 100644 --- a/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm +++ b/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm @@ -11,7 +11,7 @@ use warnings ; use bytes ; our ($VERSION, $XS_VERSION, @ISA, @EXPORT, %EXPORT_TAGS, @EXPORT_OK, $AUTOLOAD, %DEFLATE_CONSTANTS, @DEFLATE_CONSTANTS ); -$VERSION = '2.055'; +$VERSION = '2.056'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; -- Perl5 Master Repository
