diff options
author | Zefram <zefram@fysh.org> | 2017-07-19 23:28:00 +0100 |
---|---|---|
committer | Zefram <zefram@fysh.org> | 2017-07-19 23:28:00 +0100 |
commit | 89e2d2f33c90af3dbbe7745b80ee60030264b01c (patch) | |
tree | cbe3bf6d17c04b1227b2b66183f851541e3e4211 | |
parent | 3f60a9307162888df8e8e13b2361a3b8380c8744 (diff) | |
download | perl-89e2d2f33c90af3dbbe7745b80ee60030264b01c.tar.gz |
fix ExtUtils-CBuilder tests for Perl 5.6
18 files changed, 28 insertions, 22 deletions
diff --git a/dist/ExtUtils-CBuilder/Changes b/dist/ExtUtils-CBuilder/Changes index 630309a3f8..0e68d31af3 100644 --- a/dist/ExtUtils-CBuilder/Changes +++ b/dist/ExtUtils-CBuilder/Changes @@ -1,5 +1,11 @@ Revision history for Perl extension ExtUtils::CBuilder. +0.280227 - 2017-07-19 + + Fixed: + + - Restore compatibility of test suite to Perl 5.6. + 0.280226 - 2017-07-14 Fixed: diff --git a/dist/ExtUtils-CBuilder/Makefile.PL b/dist/ExtUtils-CBuilder/Makefile.PL index c599fcd29f..431f4219a8 100644 --- a/dist/ExtUtils-CBuilder/Makefile.PL +++ b/dist/ExtUtils-CBuilder/Makefile.PL @@ -29,7 +29,7 @@ my %WriteMakefileArgs = ( "TEST_REQUIRES" => { "Test::More" => "0.47" }, - "VERSION" => "0.280226", + "VERSION" => "0.280227", "test" => { "TESTS" => "t/*.t" } diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm index 99ee1fbd1f..897b833597 100644 --- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm +++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm @@ -1,5 +1,5 @@ package ExtUtils::CBuilder; -$ExtUtils::CBuilder::VERSION = '0.280226'; +$ExtUtils::CBuilder::VERSION = '0.280227'; use File::Spec (); use File::Path (); use File::Basename (); diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm index 77cecc52dd..c9aed17a92 100644 --- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm +++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm @@ -1,5 +1,5 @@ package ExtUtils::CBuilder::Base; -$ExtUtils::CBuilder::Base::VERSION = '0.280226'; +$ExtUtils::CBuilder::Base::VERSION = '0.280227'; use strict; use warnings; use File::Spec; diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Unix.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Unix.pm index 1e75806da6..f7c589e912 100644 --- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Unix.pm +++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Unix.pm @@ -1,5 +1,5 @@ package ExtUtils::CBuilder::Platform::Unix; -$ExtUtils::CBuilder::Platform::Unix::VERSION = '0.280226'; +$ExtUtils::CBuilder::Platform::Unix::VERSION = '0.280227'; use warnings; use strict; use ExtUtils::CBuilder::Base; diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/VMS.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/VMS.pm index 4c62d6da63..fb282c80ba 100644 --- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/VMS.pm +++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/VMS.pm @@ -1,5 +1,5 @@ package ExtUtils::CBuilder::Platform::VMS; -$ExtUtils::CBuilder::Platform::VMS::VERSION = '0.280226'; +$ExtUtils::CBuilder::Platform::VMS::VERSION = '0.280227'; use warnings; use strict; use ExtUtils::CBuilder::Base; diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows.pm index 2ff44b674e..da9b21b41f 100644 --- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows.pm +++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows.pm @@ -1,5 +1,5 @@ package ExtUtils::CBuilder::Platform::Windows; -$ExtUtils::CBuilder::Platform::Windows::VERSION = '0.280226'; +$ExtUtils::CBuilder::Platform::Windows::VERSION = '0.280227'; use strict; use warnings; diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm index fb64717cba..4bf77ff342 100644 --- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm +++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm @@ -1,5 +1,5 @@ package ExtUtils::CBuilder::Platform::Windows::BCC; -$ExtUtils::CBuilder::Platform::Windows::BCC::VERSION = '0.280226'; +$ExtUtils::CBuilder::Platform::Windows::BCC::VERSION = '0.280227'; use strict; use warnings; diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm index 4e7123cd16..8013351831 100644 --- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm +++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm @@ -1,5 +1,5 @@ package ExtUtils::CBuilder::Platform::Windows::GCC; -$ExtUtils::CBuilder::Platform::Windows::GCC::VERSION = '0.280226'; +$ExtUtils::CBuilder::Platform::Windows::GCC::VERSION = '0.280227'; use warnings; use strict; diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm index 0cf215919a..fc4cab1033 100644 --- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm +++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm @@ -1,5 +1,5 @@ package ExtUtils::CBuilder::Platform::Windows::MSVC; -$ExtUtils::CBuilder::Platform::Windows::MSVC::VERSION = '0.280226'; +$ExtUtils::CBuilder::Platform::Windows::MSVC::VERSION = '0.280227'; use warnings; use strict; diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/aix.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/aix.pm index 150b196f63..4fff231789 100644 --- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/aix.pm +++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/aix.pm @@ -1,5 +1,5 @@ package ExtUtils::CBuilder::Platform::aix; -$ExtUtils::CBuilder::Platform::aix::VERSION = '0.280226'; +$ExtUtils::CBuilder::Platform::aix::VERSION = '0.280227'; use warnings; use strict; use ExtUtils::CBuilder::Platform::Unix; diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/android.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/android.pm index e2d86775a2..3ee8e962df 100644 --- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/android.pm +++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/android.pm @@ -1,5 +1,5 @@ package ExtUtils::CBuilder::Platform::android; -$ExtUtils::CBuilder::Platform::android::VERSION = '0.280226'; +$ExtUtils::CBuilder::Platform::android::VERSION = '0.280227'; use warnings; use strict; use File::Spec; diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/cygwin.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/cygwin.pm index bd9d0d8917..72ea90a7cc 100644 --- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/cygwin.pm +++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/cygwin.pm @@ -1,5 +1,5 @@ package ExtUtils::CBuilder::Platform::cygwin; -$ExtUtils::CBuilder::Platform::cygwin::VERSION = '0.280226'; +$ExtUtils::CBuilder::Platform::cygwin::VERSION = '0.280227'; use warnings; use strict; use File::Spec; diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/darwin.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/darwin.pm index e360f0414d..915ca63c7f 100644 --- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/darwin.pm +++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/darwin.pm @@ -1,5 +1,5 @@ package ExtUtils::CBuilder::Platform::darwin; -$ExtUtils::CBuilder::Platform::darwin::VERSION = '0.280226'; +$ExtUtils::CBuilder::Platform::darwin::VERSION = '0.280227'; use warnings; use strict; use ExtUtils::CBuilder::Platform::Unix; diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/dec_osf.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/dec_osf.pm index d4e7f0fe53..f5d4f26b4a 100644 --- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/dec_osf.pm +++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/dec_osf.pm @@ -1,5 +1,5 @@ package ExtUtils::CBuilder::Platform::dec_osf; -$ExtUtils::CBuilder::Platform::dec_osf::VERSION = '0.280226'; +$ExtUtils::CBuilder::Platform::dec_osf::VERSION = '0.280227'; use warnings; use strict; use ExtUtils::CBuilder::Platform::Unix; diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/os2.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/os2.pm index 61e33428f0..19f8bdcf6b 100644 --- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/os2.pm +++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/os2.pm @@ -1,5 +1,5 @@ package ExtUtils::CBuilder::Platform::os2; -$ExtUtils::CBuilder::Platform::os2::VERSION = '0.280226'; +$ExtUtils::CBuilder::Platform::os2::VERSION = '0.280227'; use warnings; use strict; use ExtUtils::CBuilder::Platform::Unix; diff --git a/dist/ExtUtils-CBuilder/t/00-have-compiler.t b/dist/ExtUtils-CBuilder/t/00-have-compiler.t index 1073277fd1..5148412677 100644 --- a/dist/ExtUtils-CBuilder/t/00-have-compiler.t +++ b/dist/ExtUtils-CBuilder/t/00-have-compiler.t @@ -35,11 +35,11 @@ ok( $b, "got CBuilder object" ) or diag $@; # 'Can't exec "djaadjfkadjkfajdf"' # or similar on STDERR; so make sure fd2 is temporarily closed before # the fork - open(my $orig_err, ">&", \*STDERR) or die "Can't dup STDERR: $!"; + open(OLDERR, ">&STDERR") or die "Can't dup STDERR: $!"; close(STDERR); my $res = $b1->have_compiler; - open(STDERR, ">&", $orig_err) or die "Can't dup \$orig_err $!"; - close($orig_err); + open(STDERR, ">&OLDERR") or die "Can't restore STDERR: $!"; + close(OLDERR); is($res, 0, "have_compiler: fake missing cc" ); } @@ -47,11 +47,11 @@ ok( $b, "got CBuilder object" ) or diag $@; my $b2 = ExtUtils::CBuilder->new(quiet => 1); configure_fake_missing_compilers($b2); - open(my $orig_err, ">&", \*STDERR) or die "Can't dup STDERR: $!"; + open(OLDERR, ">&STDERR") or die "Can't dup STDERR: $!"; close(STDERR); my $res = $b2->have_cplusplus; - open(STDERR, ">&", $orig_err) or die "Can't dup \$orig_err $!"; - close($orig_err); + open(STDERR, ">&OLDERR") or die "Can't restore STDERR: $!"; + close(OLDERR); is($res, 0, "have_cplusplus: fake missing c++" ); } diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 57b65c1b5c..6f829b5627 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -128,7 +128,7 @@ L<XXX> has been upgraded from version A.xx to B.yy. =item * -L<ExtUtils::CBuilder> has been upgraded from version 0.280225 to 0.280226. +L<ExtUtils::CBuilder> has been upgraded from version 0.280225 to 0.280227. =back |