diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2012-11-10 23:53:54 +0000 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2012-11-11 00:18:54 +0000 |
commit | 14c0f22a0f8ffd6e3f345a58a7f0022484e138ac (patch) | |
tree | ca2dfbb2df3e8da5e37e73ecbc15bcf7b8c1f8e3 | |
parent | 5c314eab25b1739bbc20d240209030dea0ca0fab (diff) | |
download | perl-14c0f22a0f8ffd6e3f345a58a7f0022484e138ac.tar.gz |
Update Compress-Raw-Bzip2 to CPAN version 2.057
[DELTA]
2.057 10 November 2012
* Compress::Raw::Bzip2 needs to use PERL_NO_GET_CONTEXT
[#80318]
* Install to 'site' instead of 'perl' when perl version is 5.11+
[#79811]
* update to ppport.h that includes SvPV_nomg_nolen
[#78080]
-rwxr-xr-x | Porting/Maintainers.pl | 2 | ||||
-rw-r--r-- | cpan/Compress-Raw-Bzip2/Bzip2.xs | 7 | ||||
-rw-r--r-- | cpan/Compress-Raw-Bzip2/Changes | 11 | ||||
-rw-r--r-- | cpan/Compress-Raw-Bzip2/Makefile.PL | 2 | ||||
-rw-r--r-- | cpan/Compress-Raw-Bzip2/README | 6 | ||||
-rw-r--r-- | cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2.pm | 2 | ||||
-rw-r--r-- | cpan/Compress-Raw-Bzip2/t/000prereq.t | 2 |
7 files changed, 21 insertions, 11 deletions
diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 6029258cbf..ac6632e17d 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -363,7 +363,7 @@ use File::Glob qw(:case); 'Compress::Raw::Bzip2' => { 'MAINTAINER' => 'pmqs', - 'DISTRIBUTION' => 'PMQS/Compress-Raw-Bzip2-2.055.tar.gz', + 'DISTRIBUTION' => 'PMQS/Compress-Raw-Bzip2-2.057.tar.gz', 'FILES' => q[cpan/Compress-Raw-Bzip2], 'EXCLUDED' => [ qr{^t/Test/}, diff --git a/cpan/Compress-Raw-Bzip2/Bzip2.xs b/cpan/Compress-Raw-Bzip2/Bzip2.xs index f2ccc7913e..d430b2487b 100644 --- a/cpan/Compress-Raw-Bzip2/Bzip2.xs +++ b/cpan/Compress-Raw-Bzip2/Bzip2.xs @@ -9,7 +9,7 @@ * */ - +#define PERL_NO_GET_CONTEXT #include "EXTERN.h" #include "perl.h" #include "XSUB.h" @@ -496,7 +496,7 @@ bzdeflate (s, buf, output) if (DO_UTF8(buf) && !sv_utf8_downgrade(buf, 1)) croak("Wide character in " COMPRESS_CLASS "::bzdeflate input parameter"); #endif - s->stream.next_in = (char*)SvPVbyte_nolen(buf) ; + s->stream.next_in = (char*)SvPV_nomg_nolen(buf) ; s->stream.avail_in = SvCUR(buf) ; /* and retrieve the output buffer */ @@ -723,7 +723,6 @@ bzinflate (s, buf, output) uInt cur_length = 0; uInt prefix_length = 0; uInt increment = 0; - STRLEN stmp = NO_INIT uInt bufinc = NO_INIT PREINIT: #ifdef UTF8_AVAILABLE @@ -742,7 +741,7 @@ bzinflate (s, buf, output) #endif /* initialise the input buffer */ - s->stream.next_in = (char*)SvPVbyte_force(buf, stmp) ; + s->stream.next_in = (char*)SvPV_nomg_nolen(buf) ; s->stream.avail_in = SvCUR(buf); /* and retrieve the output buffer */ diff --git a/cpan/Compress-Raw-Bzip2/Changes b/cpan/Compress-Raw-Bzip2/Changes index 0ee8d279ad..c143de43ba 100644 --- a/cpan/Compress-Raw-Bzip2/Changes +++ b/cpan/Compress-Raw-Bzip2/Changes @@ -1,6 +1,17 @@ CHANGES ------- + 2.057 10 November 2012 + + * Compress::Raw::Bzip2 needs to use PERL_NO_GET_CONTEXT + [#80318] + + * Install to 'site' instead of 'perl' when perl version is 5.11+ + [#79811] + + * update to ppport.h that includes SvPV_nomg_nolen + [#78080] + 2.055 4 August 2012 * Fix misuse of magic in API diff --git a/cpan/Compress-Raw-Bzip2/Makefile.PL b/cpan/Compress-Raw-Bzip2/Makefile.PL index 6b0b732a79..efcdf3f613 100644 --- a/cpan/Compress-Raw-Bzip2/Makefile.PL +++ b/cpan/Compress-Raw-Bzip2/Makefile.PL @@ -47,7 +47,7 @@ WriteMakefile( : () ), - INSTALLDIRS => ($] > 5.010 ? 'perl' : 'site'), + INSTALLDIRS => ($] > 5.010 && $] < 5.011 ? 'perl' : 'site'), META_MERGE => { no_index => { diff --git a/cpan/Compress-Raw-Bzip2/README b/cpan/Compress-Raw-Bzip2/README index 4e57b1aead..e88ca2e849 100644 --- a/cpan/Compress-Raw-Bzip2/README +++ b/cpan/Compress-Raw-Bzip2/README @@ -1,9 +1,9 @@ Compress-Raw-Bzip2 - Version 2.055 + Version 2.057 - 5th August 2012 + 10th November 2012 Copyright (c) 2005-2012 Paul Marquess. All rights reserved. This program is free software; you can redistribute it @@ -164,7 +164,7 @@ To help me help you, I need all of the following information: If you haven't installed Compress-Raw-Bzip2 then search Compress::Raw::Bzip2.pm for a line like this: - $VERSION = "2.055" ; + $VERSION = "2.057" ; c. The version of bzip2 you have used. If you have successfully installed Compress-Raw-Bzip2, this one-liner diff --git a/cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2.pm b/cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2.pm index 9263d658a7..97614ff63d 100644 --- a/cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2.pm +++ b/cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2.pm @@ -12,7 +12,7 @@ use Carp ; use bytes ; our ($VERSION, $XS_VERSION, @ISA, @EXPORT, $AUTOLOAD); -$VERSION = '2.055'; +$VERSION = '2.057'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; diff --git a/cpan/Compress-Raw-Bzip2/t/000prereq.t b/cpan/Compress-Raw-Bzip2/t/000prereq.t index 0f95b00cd8..9d13000ea5 100644 --- a/cpan/Compress-Raw-Bzip2/t/000prereq.t +++ b/cpan/Compress-Raw-Bzip2/t/000prereq.t @@ -19,7 +19,7 @@ BEGIN if eval { require Test::NoWarnings ; import Test::NoWarnings; 1 }; - my $VERSION = '2.055'; + my $VERSION = '2.057'; my @NAMES = qw( ); |