summaryrefslogtreecommitdiff
path: root/cpan/Compress-Raw-Zlib
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2014-02-03 20:35:24 +0000
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2014-02-03 20:35:24 +0000
commita69492f5afa4bfb964605fd3f43c40392775c759 (patch)
treef18bb25bec5983042bc08ab96434c68b445c91e1 /cpan/Compress-Raw-Zlib
parent95f34b6fc646073944e61496c615de11b8bca7da (diff)
downloadperl-a69492f5afa4bfb964605fd3f43c40392775c759.tar.gz
Update Compress-Raw-Zlib to CPAN version 2.065
[DELTA] 2.065 3 February 2014 * [PATCH] resolve c++ build failure in core [#92657] * gcc -g3: final link failed: Memory exhausted [#88936]
Diffstat (limited to 'cpan/Compress-Raw-Zlib')
-rw-r--r--cpan/Compress-Raw-Zlib/Makefile.PL4
-rw-r--r--cpan/Compress-Raw-Zlib/Zlib.xs2
-rw-r--r--cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm2
3 files changed, 4 insertions, 4 deletions
diff --git a/cpan/Compress-Raw-Zlib/Makefile.PL b/cpan/Compress-Raw-Zlib/Makefile.PL
index aba7abcb39..015c1d9a13 100644
--- a/cpan/Compress-Raw-Zlib/Makefile.PL
+++ b/cpan/Compress-Raw-Zlib/Makefile.PL
@@ -16,8 +16,8 @@ my $WALL = '' ;
my $GZIP_OS_CODE = -1 ;
my $USE_PPPORT_H = ($ENV{PERL_CORE}) ? '' : '-DUSE_PPPORT_H';
my $OPTIMIZE = $Config{'optimize'};
-if ($Config{'gccversion'} and $OPTIMIZE =~ /-g3/) {
- $OPTIMIZE =~ s/-g3/-g/; # [88936] out of memory with -g3 since 2.062
+if ($Config{'gccversion'} and $OPTIMIZE =~ /-g (gdb)? 3/x) {
+ $OPTIMIZE =~ s/-g(gdb)?3/-g/g; # [88936] out of memory with -g3 since 2.062
}
#$WALL = ' -pedantic ' if $Config{'cc'} =~ /gcc/ ;
diff --git a/cpan/Compress-Raw-Zlib/Zlib.xs b/cpan/Compress-Raw-Zlib/Zlib.xs
index e1f2a1f17d..46d4af341b 100644
--- a/cpan/Compress-Raw-Zlib/Zlib.xs
+++ b/cpan/Compress-Raw-Zlib/Zlib.xs
@@ -1450,7 +1450,7 @@ Perl_sv_dump(output); */
if (RETVAL == Z_NEED_DICT && s->dictionary) {
STRLEN dlen;
- const Bytef* b = (Bytef*) SvPV(s->dictionary, dlen) ;
+ const Bytef* b = (const Bytef*)SvPV(s->dictionary, dlen) ;
s->dict_adler = s->stream.adler ;
RETVAL = inflateSetDictionary(&(s->stream),
b, dlen);
diff --git a/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm b/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm
index 11d12bc7c7..ae711285c0 100644
--- a/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm
+++ b/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm
@@ -10,7 +10,7 @@ use warnings ;
use bytes ;
our ($VERSION, $XS_VERSION, @ISA, @EXPORT, %EXPORT_TAGS, @EXPORT_OK, $AUTOLOAD, %DEFLATE_CONSTANTS, @DEFLATE_CONSTANTS);
-$VERSION = '2.064';
+$VERSION = '2.065';
$XS_VERSION = $VERSION;
$VERSION = eval $VERSION;