diff options
author | Aaron Crane <arc@cpan.org> | 2016-05-16 01:15:44 +0100 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2016-05-16 01:21:49 +0100 |
commit | 7ede3c4fd2179a2fd73243b5b8374b6af730fb1f (patch) | |
tree | 7aa6a8b09420d38f3182709b92b1f758ed9ea481 | |
parent | 2f7a15bf0111b35a9af62de5c74e13855cb9cea3 (diff) | |
download | perl-7ede3c4fd2179a2fd73243b5b8374b6af730fb1f.tar.gz |
Fix Scalar-List-Utils build on C++ compilers; patch sent upstream
-rwxr-xr-x | Porting/Maintainers.pl | 10 | ||||
-rw-r--r-- | cpan/Scalar-List-Utils/ListUtil.xs | 4 | ||||
-rw-r--r-- | cpan/Scalar-List-Utils/lib/List/Util.pm | 2 | ||||
-rw-r--r-- | cpan/Scalar-List-Utils/lib/List/Util/XS.pm | 2 | ||||
-rw-r--r-- | cpan/Scalar-List-Utils/lib/Scalar/Util.pm | 2 | ||||
-rw-r--r-- | cpan/Scalar-List-Utils/lib/Sub/Util.pm | 2 | ||||
-rw-r--r-- | t/porting/customized.dat | 5 |
7 files changed, 21 insertions, 6 deletions
diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 231b71f4d2..c581008afc 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -988,6 +988,16 @@ use File::Glob qw(:case); 'Scalar-List-Utils' => { 'DISTRIBUTION' => 'PEVANS/Scalar-List-Utils-1.45.tar.gz', 'FILES' => q[cpan/Scalar-List-Utils], + # Waiting to be merged upstream + # https://github.com/Scalar-List-Utils/Scalar-List-Utils/pull/42 + 'CUSTOMIZED' => [ + qw( ListUtil.xs + lib/List/Util.pm + lib/List/Util/XS.pm + lib/Scalar/Util.pm + lib/Sub/Util.pm + ) + ], }, 'Search::Dict' => { diff --git a/cpan/Scalar-List-Utils/ListUtil.xs b/cpan/Scalar-List-Utils/ListUtil.xs index 9b0384a152..badcce7d84 100644 --- a/cpan/Scalar-List-Utils/ListUtil.xs +++ b/cpan/Scalar-List-Utils/ListUtil.xs @@ -1049,7 +1049,7 @@ CODE: else sv_setpvf(keysv, "%"NVgf, SvNV(arg)); #ifdef HV_FETCH_EMPTY_HE - HE* he = hv_common(seen, NULL, SvPVX(keysv), SvCUR(keysv), 0, HV_FETCH_LVALUE | HV_FETCH_EMPTY_HE, NULL, 0); + HE* he = (HE*) hv_common(seen, NULL, SvPVX(keysv), SvCUR(keysv), 0, HV_FETCH_LVALUE | HV_FETCH_EMPTY_HE, NULL, 0); if (HeVAL(he)) continue; @@ -1090,7 +1090,7 @@ CODE: continue; } #ifdef HV_FETCH_EMPTY_HE - HE* he = hv_common(seen, arg, NULL, 0, 0, HV_FETCH_LVALUE | HV_FETCH_EMPTY_HE, NULL, 0); + HE* he = (HE*) hv_common(seen, arg, NULL, 0, 0, HV_FETCH_LVALUE | HV_FETCH_EMPTY_HE, NULL, 0); if (HeVAL(he)) continue; diff --git a/cpan/Scalar-List-Utils/lib/List/Util.pm b/cpan/Scalar-List-Utils/lib/List/Util.pm index c256696c1a..d53705310e 100644 --- a/cpan/Scalar-List-Utils/lib/List/Util.pm +++ b/cpan/Scalar-List-Utils/lib/List/Util.pm @@ -15,7 +15,7 @@ our @EXPORT_OK = qw( all any first min max minstr maxstr none notall product reduce sum sum0 shuffle uniq uniqnum uniqstr pairs unpairs pairkeys pairvalues pairmap pairgrep pairfirst ); -our $VERSION = "1.45"; +our $VERSION = "1.45_01"; our $XS_VERSION = $VERSION; $VERSION = eval $VERSION; diff --git a/cpan/Scalar-List-Utils/lib/List/Util/XS.pm b/cpan/Scalar-List-Utils/lib/List/Util/XS.pm index 0a9ad4950e..67093bde79 100644 --- a/cpan/Scalar-List-Utils/lib/List/Util/XS.pm +++ b/cpan/Scalar-List-Utils/lib/List/Util/XS.pm @@ -3,7 +3,7 @@ use strict; use warnings; use List::Util; -our $VERSION = "1.45"; # FIXUP +our $VERSION = "1.45_01"; # FIXUP $VERSION = eval $VERSION; # FIXUP 1; diff --git a/cpan/Scalar-List-Utils/lib/Scalar/Util.pm b/cpan/Scalar-List-Utils/lib/Scalar/Util.pm index d2db167281..eb430cdcd5 100644 --- a/cpan/Scalar-List-Utils/lib/Scalar/Util.pm +++ b/cpan/Scalar-List-Utils/lib/Scalar/Util.pm @@ -17,7 +17,7 @@ our @EXPORT_OK = qw( dualvar isdual isvstring looks_like_number openhandle readonly set_prototype tainted ); -our $VERSION = "1.45"; +our $VERSION = "1.45_01"; $VERSION = eval $VERSION; require List::Util; # List::Util loads the XS diff --git a/cpan/Scalar-List-Utils/lib/Sub/Util.pm b/cpan/Scalar-List-Utils/lib/Sub/Util.pm index 678016364e..79e80fc43c 100644 --- a/cpan/Scalar-List-Utils/lib/Sub/Util.pm +++ b/cpan/Scalar-List-Utils/lib/Sub/Util.pm @@ -15,7 +15,7 @@ our @EXPORT_OK = qw( subname set_subname ); -our $VERSION = "1.45"; +our $VERSION = "1.45_01"; $VERSION = eval $VERSION; require List::Util; # as it has the XS diff --git a/t/porting/customized.dat b/t/porting/customized.dat index d63ecc28ec..e1cf27eafe 100644 --- a/t/porting/customized.dat +++ b/t/porting/customized.dat @@ -40,6 +40,11 @@ File::Path cpan/File-Path/lib/File/Path.pm fd8ce4420a0c113d3f47dd3223859743655c1 File::Path cpan/File-Path/t/Path_win32.t 94b9276557ce7f80b91f6fd9bfa7a0cd9bf9683e Math::BigRat cpan/Math-BigRat/lib/Math/BigRat.pm 6eabc68e04f67694f6fe523e64eb013fc337ca5b Pod::Perldoc cpan/Pod-Perldoc/lib/Pod/Perldoc.pm fe0bc906fb74b69cfd3fb289316ba669d770d465 +Scalar-List-Utils cpan/Scalar-List-Utils/lib/List/Util.pm e479a29c6b66ac5cbbde4ef2296afaab6c4635a6 +Scalar-List-Utils cpan/Scalar-List-Utils/lib/List/Util/XS.pm cbc38838d32fd213ae7b37ac38e30195355be3b9 +Scalar-List-Utils cpan/Scalar-List-Utils/lib/Scalar/Util.pm 14a20075dfb9a4ef33b99115ed6f43e6d1a15f9b +Scalar-List-Utils cpan/Scalar-List-Utils/lib/Sub/Util.pm b984c0a2935bd5f5cf1733df846c8a8c0661ef32 +Scalar-List-Utils cpan/Scalar-List-Utils/ListUtil.xs 7c859728ec2fa645fc91933532ce67fc491623d2 Socket cpan/Socket/Socket.pm 98e38176d745c38282907f391c077298f5a3d0ba Socket cpan/Socket/Socket.xs edd4fed212785f11c5c2095a75941dad27d586d9 autodie cpan/autodie/t/mkdir.t 9e70d2282a3cc7d76a78bf8144fccba20fb37dac |