Hello community,
here is the log from the commit of package perl-Devel-PatchPerl for
openSUSE:Factory checked in at 2015-07-08 06:59:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Devel-PatchPerl (Old)
and /work/SRC/openSUSE:Factory/.perl-Devel-PatchPerl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Devel-PatchPerl"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Devel-PatchPerl/perl-Devel-PatchPerl.changes
2015-04-27 07:46:55.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Devel-PatchPerl.new/perl-Devel-PatchPerl.changes
2015-07-08 06:59:37.000000000 +0200
@@ -1,0 +2,6 @@
+Sat Jul 4 08:24:04 UTC 2015 - [email protected]
+
+- updated to 1.38
+ see /usr/share/doc/packages/perl-Devel-PatchPerl/Changes
+
+-------------------------------------------------------------------
Old:
----
Devel-PatchPerl-1.34.tar.gz
New:
----
Devel-PatchPerl-1.38.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Devel-PatchPerl.spec ++++++
--- /var/tmp/diff_new_pack.hSww1k/_old 2015-07-08 06:59:38.000000000 +0200
+++ /var/tmp/diff_new_pack.hSww1k/_new 2015-07-08 06:59:38.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-Devel-PatchPerl
-Version: 1.34
+Version: 1.38
Release: 0
%define cpan_name Devel-PatchPerl
Summary: Patch perl source a la Devel::PPPort's buildperl.pl
++++++ Devel-PatchPerl-1.34.tar.gz -> Devel-PatchPerl-1.38.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.34/Changes
new/Devel-PatchPerl-1.38/Changes
--- old/Devel-PatchPerl-1.34/Changes 2015-04-25 17:40:07.000000000 +0200
+++ new/Devel-PatchPerl-1.38/Changes 2015-07-03 21:14:03.000000000 +0200
@@ -1,8 +1,28 @@
==================================================
-Changes from 2010-04-26 00:00:00 +0000 to present.
+Changes from 2010-07-04 00:00:00 +0000 to present.
==================================================
-----------------------------------------
+version 1.38 at 2015-07-03 18:12:12 +0000
+-----------------------------------------
+
+ Change: 049fc9226c524846e51c1bdd4e2b17e97e05667d
+ Author: Chris 'BinGOs' Williams <[email protected]>
+ Date : 2015-07-03 19:12:12 +0000
+
+ Fix the patches introduced in the last release
+
+-----------------------------------------
+version 1.36 at 2015-07-03 11:48:26 +0000
+-----------------------------------------
+
+ Change: 61c7a95065f599b9dc31c8791efab770ad7fba94
+ Author: Chris 'BinGOs' Williams <[email protected]>
+ Date : 2015-07-03 12:48:26 +0000
+
+ Added Errno GCC5 patches as far back as v5.6.0
+
+-----------------------------------------
version 1.34 at 2015-04-25 15:23:56 +0000
-----------------------------------------
@@ -1045,85 +1065,6 @@
The typo in one of the sed replacement lines.
------------------------------------------
-version 0.12 at 2010-06-22 08:32:04 +0000
------------------------------------------
-
- Change: 435296d955ec88a13b30663e9fa3c3a71ce466df
- Author: Chris 'BinGOs' Williams <[email protected]>
- Date : 2010-06-22 09:32:04 +0000
-
- Added patching of hints/netbsd.sh file for all perls.
-
------------------------------------------
-version 0.10 at 2010-06-21 20:29:07 +0000
------------------------------------------
-
- Change: 4029c7f726e27882ce6e94380c1dd8daaa8ca371
- Author: Chris 'BinGOs' Williams <[email protected]>
- Date : 2010-06-21 21:29:07 +0000
-
- Switched to dzil and switched from File::chdir to File::pushd
-
------------------------------------------
-version 0.08 at 2010-05-18 21:18:47 +0000
------------------------------------------
-
- Change: 8631ee6c74fc8b38f770621bc834619ba9caf975
- Author: Chris 'BinGOs' Williams <[email protected]>
- Date : 2010-05-18 22:18:47 +0000
-
- Found a more elegant way to deal with our 'isa' problem
-
------------------------------------------
-version 0.06 at 2010-05-18 08:10:40 +0000
------------------------------------------
-
- Change: 225c1ddde7fe4bdf568fba7784da4e4599444cf5
- Author: Chris 'BinGOs' Williams <[email protected]>
- Date : 2010-05-18 09:10:40 +0000
-
- Fixed a few issues, tested patching against perl-5.6.1 source tree
- and it works now.
-
------------------------------------------
-version 0.04 at 2010-05-17 23:33:32 +0000
------------------------------------------
-
- Change: 09dfd7daa6a1fe5bc172aad1ad1d57eb0af86227
- Author: Chris 'BinGOs' Williams <[email protected]>
- Date : 2010-05-18 00:33:32 +0000
-
- Fixed a bug calling patch_source as a exported function
-
------------------------------------------
-version 0.02 at 2010-05-17 21:30:11 +0000
------------------------------------------
-
- Change: 2fafa1190eb79118ce5c47b84ee08d416b98a856
- Author: Chris 'BinGOs' Williams <[email protected]>
- Date : 2010-05-17 22:30:11 +0000
-
- Updated MANIFEST
-
- Change: c1acff3f67391e600527e964234205eb02a0ccff
- Author: Chris 'BinGOs' Williams <[email protected]>
- Date : 2010-05-17 22:20:47 +0000
-
- Added Changes file
-
- Change: 47fea54726e43888666805cc65a809187f1ddc4b
- Author: Chris 'BinGOs' Williams <[email protected]>
- Date : 2010-05-17 22:11:38 +0000
-
- Added exported function
-
- Change: e632a026c63aedb78f6eb9670994e832e7ea6511
- Author: Chris 'BinGOs' Williams <[email protected]>
- Date : 2010-05-17 21:52:25 +0000
-
- Patch in.
-
-================
-End of releases.
-================
+================================================
+Plus 6 releases after 2010-07-04 00:00:00 +0000.
+================================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.34/MANIFEST
new/Devel-PatchPerl-1.38/MANIFEST
--- old/Devel-PatchPerl-1.34/MANIFEST 2015-04-25 17:40:07.000000000 +0200
+++ new/Devel-PatchPerl-1.38/MANIFEST 2015-07-03 21:14:03.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v5.035.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v5.037.
Changes
LICENSE
MANIFEST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.34/META.json
new/Devel-PatchPerl-1.38/META.json
--- old/Devel-PatchPerl-1.34/META.json 2015-04-25 17:40:07.000000000 +0200
+++ new/Devel-PatchPerl-1.38/META.json 2015-07-03 21:14:03.000000000 +0200
@@ -4,7 +4,7 @@
"Chris Williams <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.035, CPAN::Meta::Converter version
2.150001",
+ "generated_by" : "Dist::Zilla version 5.037, CPAN::Meta::Converter version
2.150005",
"license" : [
"perl_5"
],
@@ -45,6 +45,6 @@
"web" : "https://github.com/bingos/devel-patchperl"
}
},
- "version" : "1.34"
+ "version" : "1.38"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.34/META.yml
new/Devel-PatchPerl-1.38/META.yml
--- old/Devel-PatchPerl-1.34/META.yml 2015-04-25 17:40:07.000000000 +0200
+++ new/Devel-PatchPerl-1.38/META.yml 2015-07-03 21:14:03.000000000 +0200
@@ -6,7 +6,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.035, CPAN::Meta::Converter version
2.150001'
+generated_by: 'Dist::Zilla version 5.037, CPAN::Meta::Converter version
2.150005'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -21,4 +21,4 @@
resources:
homepage: https://github.com/bingos/devel-patchperl
repository: https://github.com/bingos/devel-patchperl.git
-version: '1.34'
+version: '1.38'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.34/Makefile.PL
new/Devel-PatchPerl-1.38/Makefile.PL
--- old/Devel-PatchPerl-1.34/Makefile.PL 2015-04-25 17:40:07.000000000
+0200
+++ new/Devel-PatchPerl-1.38/Makefile.PL 2015-07-03 21:14:03.000000000
+0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v5.035.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v5.037.
use strict;
use warnings;
@@ -25,7 +25,7 @@
"MIME::Base64" => 0,
"Module::Pluggable" => 0
},
- "VERSION" => "1.34",
+ "VERSION" => "1.38",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.34/bin/patchperl
new/Devel-PatchPerl-1.38/bin/patchperl
--- old/Devel-PatchPerl-1.34/bin/patchperl 2015-04-25 17:40:07.000000000
+0200
+++ new/Devel-PatchPerl-1.38/bin/patchperl 2015-07-03 21:14:03.000000000
+0200
@@ -22,7 +22,7 @@
=head1 VERSION
-version 1.34
+version 1.38
=head1 AUTHOR
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.34/dist.ini
new/Devel-PatchPerl-1.38/dist.ini
--- old/Devel-PatchPerl-1.34/dist.ini 2015-04-25 17:40:07.000000000 +0200
+++ new/Devel-PatchPerl-1.38/dist.ini 2015-07-03 21:14:03.000000000 +0200
@@ -1,5 +1,5 @@
name = Devel-PatchPerl
-version = 1.34
+version = 1.38
author = Chris Williams <[email protected]>
license = Perl_5
copyright_holder = Chris Williams and Marcus Holland-Moritz
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.34/lib/Devel/PatchPerl/Hints.pm
new/Devel-PatchPerl-1.38/lib/Devel/PatchPerl/Hints.pm
--- old/Devel-PatchPerl-1.34/lib/Devel/PatchPerl/Hints.pm 2015-04-25
17:40:07.000000000 +0200
+++ new/Devel-PatchPerl-1.38/lib/Devel/PatchPerl/Hints.pm 2015-07-03
21:14:03.000000000 +0200
@@ -1,5 +1,5 @@
package Devel::PatchPerl::Hints;
-$Devel::PatchPerl::Hints::VERSION = '1.34';
+$Devel::PatchPerl::Hints::VERSION = '1.38';
#ABSTRACT: replacement 'hints' files
use strict;
@@ -1881,7 +1881,7 @@
=head1 VERSION
-version 1.34
+version 1.38
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.34/lib/Devel/PatchPerl/Plugin.pm
new/Devel-PatchPerl-1.38/lib/Devel/PatchPerl/Plugin.pm
--- old/Devel-PatchPerl-1.34/lib/Devel/PatchPerl/Plugin.pm 2015-04-25
17:40:07.000000000 +0200
+++ new/Devel-PatchPerl-1.38/lib/Devel/PatchPerl/Plugin.pm 2015-07-03
21:14:03.000000000 +0200
@@ -1,5 +1,5 @@
package Devel::PatchPerl::Plugin;
-$Devel::PatchPerl::Plugin::VERSION = '1.34';
+$Devel::PatchPerl::Plugin::VERSION = '1.38';
#ABSTRACT: Devel::PatchPerl plugins explained
use strict;
@@ -19,7 +19,7 @@
=head1 VERSION
-version 1.34
+version 1.38
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.34/lib/Devel/PatchPerl.pm
new/Devel-PatchPerl-1.38/lib/Devel/PatchPerl.pm
--- old/Devel-PatchPerl-1.34/lib/Devel/PatchPerl.pm 2015-04-25
17:40:07.000000000 +0200
+++ new/Devel-PatchPerl-1.38/lib/Devel/PatchPerl.pm 2015-07-03
21:14:03.000000000 +0200
@@ -1,5 +1,5 @@
package Devel::PatchPerl;
-$Devel::PatchPerl::VERSION = '1.34';
+$Devel::PatchPerl::VERSION = '1.38';
# ABSTRACT: Patch perl source a la Devel::PPPort's buildperl.pl
use strict;
@@ -183,6 +183,7 @@
[ \&_patch_bitrig ],
[ \&_patch_hints ],
[ \&_patch_patchlevel ],
+ [ \&_patch_errno_gcc5 ],
],
},
{
@@ -5790,6 +5791,180 @@
END
}
+sub _patch_errno_gcc5 {
+ my $perlver = shift;
+ my $num = _norm_ver( $perlver );
+ return unless $num < 5.021009;
+ return if $num > 5.020002 && $num < 5.021;
+ if ( $num < 5.006 ) {
+ warn "The Errno GCC 5 patch only goes back as far as v5.6.0\n";
+ warn "You will have to generate your own patch to go farther back\n";
+ return;
+ }
+ elsif ( $num < 5.006001 ) {
+ _patch(<<'END');
+diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
+index df68dc3..8385048 100644
+--- ext/Errno/Errno_pm.PL
++++ ext/Errno/Errno_pm.PL
+@@ -143,16 +143,26 @@ sub write_errno_pm {
+
+ # invoke CPP and read the output
+
++ my $inhibit_linemarkers = '';
++ if ($Config{gccversion} =~ /\A(\d+)\./ and $1 >= 5) {
++ # GCC 5.0 interleaves expanded macros with line numbers breaking
++ # each line into multiple lines. RT#123784
++ $inhibit_linemarkers = ' -P';
++ }
++
+ if ($^O eq 'VMS') {
+- my $cpp = "$Config{cppstdin} $Config{cppflags} $Config{cppminus}";
++ my $cpp = "$Config{cppstdin} $Config{cppflags}" .
++ $inhibit_linemarkers . " $Config{cppminus}";
+ $cpp =~ s/sys\$input//i;
+ open(CPPO,"$cpp errno.c |") or
+ die "Cannot exec $Config{cppstdin}";
+ } elsif ($^O eq 'MSWin32') {
+- open(CPPO,"$Config{cpprun} $Config{cppflags} errno.c |") or
+- die "Cannot run '$Config{cpprun} $Config{cppflags} errno.c'";
++ my $cpp = "$Config{cpprun} $Config{cppflags}" .
++ $inhibit_linemarkers;
++ open(CPPO,"$cpp errno.c |") or
++ die "Cannot run '$cpp errno.c'";
+ } else {
+- my $cpp = default_cpp();
++ my $cpp = default_cpp() . $inhibit_linemarkers;
+ open(CPPO,"$cpp < errno.c |")
+ or die "Cannot exec $cpp";
+ }
+END
+ }
+ elsif ( $num < 5.007003 ) { # v5.6.0 et al
+ _patch(<<'END');
+diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
+index 3f2f3e0..d8fe44e 100644
+--- ext/Errno/Errno_pm.PL
++++ ext/Errno/Errno_pm.PL
+@@ -172,16 +172,26 @@ sub write_errno_pm {
+ unless ($^O eq 'MacOS') { # trust what we have
+ # invoke CPP and read the output
+
++ my $inhibit_linemarkers = '';
++ if ($Config{gccversion} =~ /\A(\d+)\./ and $1 >= 5) {
++ # GCC 5.0 interleaves expanded macros with line numbers breaking
++ # each line into multiple lines. RT#123784
++ $inhibit_linemarkers = ' -P';
++ }
++
+ if ($^O eq 'VMS') {
+- my $cpp = "$Config{cppstdin} $Config{cppflags} $Config{cppminus}";
++ my $cpp = "$Config{cppstdin} $Config{cppflags}" .
++ $inhibit_linemarkers . " $Config{cppminus}";
+ $cpp =~ s/sys\$input//i;
+ open(CPPO,"$cpp errno.c |") or
+ die "Cannot exec $Config{cppstdin}";
+ } elsif ($^O eq 'MSWin32') {
+- open(CPPO,"$Config{cpprun} $Config{cppflags} errno.c |") or
+- die "Cannot run '$Config{cpprun} $Config{cppflags} errno.c'";
++ my $cpp = "$Config{cpprun} $Config{cppflags}" .
++ $inhibit_linemarkers;
++ open(CPPO,"$cpp errno.c |") or
++ die "Cannot run '$cpp errno.c'";
+ } else {
+- my $cpp = default_cpp();
++ my $cpp = default_cpp() . $inhibit_linemarkers;
+ open(CPPO,"$cpp < errno.c |")
+ or die "Cannot exec $cpp";
+ }
+END
+ }
+ elsif ( $num < 5.008009 ) {
+ _patch(<<'END');
+diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
+index d8a0ab3..796e2f1 100644
+--- ext/Errno/Errno_pm.PL
++++ ext/Errno/Errno_pm.PL
+@@ -235,16 +235,26 @@ sub write_errno_pm {
+ unless ($^O eq 'MacOS' || $^O eq 'beos') { # trust what we have /
get later
+ # invoke CPP and read the output
+
++ my $inhibit_linemarkers = '';
++ if ($Config{gccversion} =~ /\A(\d+)\./ and $1 >= 5) {
++ # GCC 5.0 interleaves expanded macros with line numbers breaking
++ # each line into multiple lines. RT#123784
++ $inhibit_linemarkers = ' -P';
++ }
++
+ if ($^O eq 'VMS') {
+- my $cpp = "$Config{cppstdin} $Config{cppflags} $Config{cppminus}";
++ my $cpp = "$Config{cppstdin} $Config{cppflags}" .
++ $inhibit_linemarkers . " $Config{cppminus}";
+ $cpp =~ s/sys\$input//i;
+ open(CPPO,"$cpp errno.c |") or
+ die "Cannot exec $Config{cppstdin}";
+ } elsif ($^O eq 'MSWin32' || $^O eq 'NetWare') {
+- open(CPPO,"$Config{cpprun} $Config{cppflags} errno.c |") or
+- die "Cannot run '$Config{cpprun} $Config{cppflags} errno.c'";
++ my $cpp = "$Config{cpprun} $Config{cppflags}" .
++ $inhibit_linemarkers;
++ open(CPPO,"$cpp errno.c |") or
++ die "Cannot run '$cpp errno.c'";
+ } else {
+- my $cpp = default_cpp();
++ my $cpp = default_cpp() . $inhibit_linemarkers;
+ open(CPPO,"$cpp < errno.c |")
+ or die "Cannot exec $cpp";
+ }
+END
+ }
+ else {
+ _patch(<<'END');
+diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
+index 3dadfce..c6bfa06 100644
+--- ext/Errno/Errno_pm.PL
++++ ext/Errno/Errno_pm.PL
+@@ -215,20 +215,31 @@ sub write_errno_pm {
+ { # BeOS (support now removed) did not enter this block
+ # invoke CPP and read the output
+
++ my $inhibit_linemarkers = '';
++ if ($Config{gccversion} =~ /\A(\d+)\./ and $1 >= 5) {
++ # GCC 5.0 interleaves expanded macros with line numbers breaking
++ # each line into multiple lines. RT#123784
++ $inhibit_linemarkers = ' -P';
++ }
++
+ if ($^O eq 'VMS') {
+- my $cpp = "$Config{cppstdin} $Config{cppflags} $Config{cppminus}";
++ my $cpp = "$Config{cppstdin} $Config{cppflags}" .
++ $inhibit_linemarkers . " $Config{cppminus}";
+ $cpp =~ s/sys\$input//i;
+ open(CPPO,"$cpp errno.c |") or
+ die "Cannot exec $Config{cppstdin}";
+ } elsif ($IsMSWin32 || $^O eq 'NetWare') {
+- open(CPPO,"$Config{cpprun} $Config{cppflags} errno.c |") or
+- die "Cannot run '$Config{cpprun} $Config{cppflags} errno.c'";
++ my $cpp = "$Config{cpprun} $Config{cppflags}" .
++ $inhibit_linemarkers;
++ open(CPPO,"$cpp errno.c |") or
++ die "Cannot run '$cpp errno.c'";
+ } elsif ($IsSymbian) {
+- my $cpp = "gcc -E -I$ENV{SDK}\\epoc32\\include\\libc -";
++ my $cpp = "gcc -E -I$ENV{SDK}\\epoc32\\include\\libc" .
++ $inhibit_linemarkers ." -";
+ open(CPPO,"$cpp < errno.c |")
+ or die "Cannot exec $cpp";
+ } else {
+- my $cpp = default_cpp();
++ my $cpp = default_cpp() . $inhibit_linemarkers;
+ open(CPPO,"$cpp < errno.c |")
+ or die "Cannot exec $cpp";
+ }
+END
+ }
+}
+
sub _norm_ver {
my $ver = shift;
my @v = split(qr/[._]0*/, $ver);
@@ -5811,7 +5986,7 @@
=head1 VERSION
-version 1.34
+version 1.38
=head1 SYNOPSIS