Hello community,
here is the log from the commit of package perl-Devel-PatchPerl for
openSUSE:Factory checked in at 2019-05-06 13:27:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Devel-PatchPerl (Old)
and /work/SRC/openSUSE:Factory/.perl-Devel-PatchPerl.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Devel-PatchPerl"
Mon May 6 13:27:33 2019 rev:24 rq:700737 version:1.58
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Devel-PatchPerl/perl-Devel-PatchPerl.changes
2019-03-20 13:19:00.653347932 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Devel-PatchPerl.new.5148/perl-Devel-PatchPerl.changes
2019-05-06 13:27:37.349303100 +0200
@@ -1,0 +2,6 @@
+Sun Apr 28 05:08:15 UTC 2019 - Stephan Kulow <[email protected]>
+
+- updated to 1.58
+ see /usr/share/doc/packages/perl-Devel-PatchPerl/Changes
+
+-------------------------------------------------------------------
Old:
----
Devel-PatchPerl-1.56.tar.gz
New:
----
Devel-PatchPerl-1.58.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Devel-PatchPerl.spec ++++++
--- /var/tmp/diff_new_pack.y17kN5/_old 2019-05-06 13:27:38.809306279 +0200
+++ /var/tmp/diff_new_pack.y17kN5/_new 2019-05-06 13:27:38.829306323 +0200
@@ -17,7 +17,7 @@
Name: perl-Devel-PatchPerl
-Version: 1.56
+Version: 1.58
Release: 0
%define cpan_name Devel-PatchPerl
Summary: Patch perl source a la Devel::PPPort's buildperl.pl
++++++ Devel-PatchPerl-1.56.tar.gz -> Devel-PatchPerl-1.58.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.56/Changes
new/Devel-PatchPerl-1.58/Changes
--- old/Devel-PatchPerl-1.56/Changes 2019-02-26 15:02:37.000000000 +0100
+++ new/Devel-PatchPerl-1.58/Changes 2019-04-26 17:52:07.000000000 +0200
@@ -1,8 +1,54 @@
==================================================
-Changes from 2014-02-27 00:00:00 +0000 to present.
+Changes from 2014-04-27 00:00:00 +0000 to present.
==================================================
-----------------------------------------
+version 1.58 at 2019-04-26 15:51:27 +0000
+-----------------------------------------
+
+ Change: 1be25996c64d8e3b9ed9997facc4e07f66722f59
+ Author: Chris 'BinGOs' Williams <[email protected]>
+ Date : 2019-04-26 16:51:27 +0000
+
+ Release engineering for 1.58
+
+ Change: 9acd33780d61b675239cb812777a172eb0ae4492
+ Author: Chris 'BinGOs' Williams <[email protected]>
+ Date : 2019-04-26 16:50:42 +0000
+
+ Merge hints from blead v5.29.10
+
+ Change: 7753eb224020419fc199bf5bc207cce0bef93d18
+ Author: Chris 'BinGOs' Williams <[email protected]>
+ Date : 2019-04-26 16:46:44 +0000
+
+ Add patch to fix lib/h2ph.t
+
+ Change: 3f58aa0bda494f4a7ff8e8d178bce25e0928efd2
+ Author: Chris 'BinGOs' Williams <[email protected]>
+ Date : 2019-04-26 15:34:00 +0000
+
+ Added patch to fix utils/h2ph.PL
+
+ Change: 86165ca94b2bc35ac49e99c91371e0bb269d2d72
+ Author: Chris 'BinGOs' Williams <[email protected]>
+ Date : 2019-04-26 14:18:44 +0000
+
+ Patch Configure for -fwrapv
+
+ Change: 9eabda784544256a9fe1879bef9b0a0c043546f3
+ Author: Chris 'BinGOs' Williams <[email protected]>
+ Date : 2019-04-26 10:58:03 +0000
+
+ Test hints() function as well
+
+ Change: e1d4c88a89f3809432479113de2370a31cb68fb4
+ Author: Chris 'BinGOs' Williams <[email protected]>
+ Date : 2019-04-26 10:01:03 +0000
+
+ Added test for non-existant plugin
+
+-----------------------------------------
version 1.56 at 2019-02-26 14:01:17 +0000
-----------------------------------------
@@ -316,26 +362,6 @@
http://perl5.git.perl.org/perl.git/commit/ce861ea79
------------------------------------------
-version 1.22 at 2014-04-23 21:15:10 +0000
------------------------------------------
-
- Change: 7c1a27bdbab0089738942aaae5cf0a741bc5b377
- Author: Chris 'BinGOs' Williams <[email protected]>
- Date : 2014-04-23 22:15:10 +0000
-
- Look for gpatch if patch is not found
-
------------------------------------------
-version 1.20 at 2014-03-21 14:16:30 +0000
------------------------------------------
-
- Change: 664f16a3e9c1b27b711dbd424a209d985b7801e4
- Author: Chris 'BinGOs' Williams <[email protected]>
- Date : 2014-03-21 14:16:30 +0000
-
- Update included hints files
-
=================================================
-Plus 59 releases after 2014-02-27 00:00:00 +0000.
+Plus 61 releases after 2014-04-27 00:00:00 +0000.
=================================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.56/MANIFEST
new/Devel-PatchPerl-1.58/MANIFEST
--- old/Devel-PatchPerl-1.56/MANIFEST 2019-02-26 15:02:37.000000000 +0100
+++ new/Devel-PatchPerl-1.58/MANIFEST 2019-04-26 17:52:07.000000000 +0200
@@ -14,6 +14,7 @@
t/01-hints.t
t/02_vers.t
t/03_plugin.t
+t/04_noplugin.t
t/author-pod-coverage.t
t/author-pod-syntax.t
t/borken/patchlevel.h
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.56/META.json
new/Devel-PatchPerl-1.58/META.json
--- old/Devel-PatchPerl-1.56/META.json 2019-02-26 15:02:37.000000000 +0100
+++ new/Devel-PatchPerl-1.58/META.json 2019-04-26 17:52:07.000000000 +0200
@@ -45,8 +45,8 @@
"web" : "https://github.com/bingos/devel-patchperl"
}
},
- "version" : "1.56",
+ "version" : "1.58",
"x_generated_by_perl" : "v5.26.3",
- "x_serialization_backend" : "Cpanel::JSON::XS version 4.09"
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.11"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.56/META.yml
new/Devel-PatchPerl-1.58/META.yml
--- old/Devel-PatchPerl-1.56/META.yml 2019-02-26 15:02:37.000000000 +0100
+++ new/Devel-PatchPerl-1.58/META.yml 2019-04-26 17:52:07.000000000 +0200
@@ -21,6 +21,6 @@
resources:
homepage: https://github.com/bingos/devel-patchperl
repository: https://github.com/bingos/devel-patchperl.git
-version: '1.56'
+version: '1.58'
x_generated_by_perl: v5.26.3
x_serialization_backend: 'YAML::Tiny version 1.73'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.56/Makefile.PL
new/Devel-PatchPerl-1.58/Makefile.PL
--- old/Devel-PatchPerl-1.56/Makefile.PL 2019-02-26 15:02:37.000000000
+0100
+++ new/Devel-PatchPerl-1.58/Makefile.PL 2019-04-26 17:52:07.000000000
+0200
@@ -25,7 +25,7 @@
"MIME::Base64" => 0,
"Module::Pluggable" => 0
},
- "VERSION" => "1.56",
+ "VERSION" => "1.58",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.56/README
new/Devel-PatchPerl-1.58/README
--- old/Devel-PatchPerl-1.56/README 2019-02-26 15:02:37.000000000 +0100
+++ new/Devel-PatchPerl-1.58/README 2019-04-26 17:52:07.000000000 +0200
@@ -4,7 +4,7 @@
VERSION
- version 1.56
+ version 1.58
SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.56/bin/patchperl
new/Devel-PatchPerl-1.58/bin/patchperl
--- old/Devel-PatchPerl-1.56/bin/patchperl 2019-02-26 15:02:37.000000000
+0100
+++ new/Devel-PatchPerl-1.58/bin/patchperl 2019-04-26 17:52:07.000000000
+0200
@@ -22,7 +22,7 @@
=head1 VERSION
-version 1.56
+version 1.58
=head1 AUTHOR
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.56/dist.ini
new/Devel-PatchPerl-1.58/dist.ini
--- old/Devel-PatchPerl-1.56/dist.ini 2019-02-26 15:02:37.000000000 +0100
+++ new/Devel-PatchPerl-1.58/dist.ini 2019-04-26 17:52:07.000000000 +0200
@@ -1,5 +1,5 @@
name = Devel-PatchPerl
-version = 1.56
+version = 1.58
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.56/lib/Devel/PatchPerl/Hints.pm
new/Devel-PatchPerl-1.58/lib/Devel/PatchPerl/Hints.pm
--- old/Devel-PatchPerl-1.56/lib/Devel/PatchPerl/Hints.pm 2019-02-26
15:02:37.000000000 +0100
+++ new/Devel-PatchPerl-1.58/lib/Devel/PatchPerl/Hints.pm 2019-04-26
17:52:07.000000000 +0200
@@ -1,5 +1,5 @@
package Devel::PatchPerl::Hints;
-$Devel::PatchPerl::Hints::VERSION = '1.56';
+$Devel::PatchPerl::Hints::VERSION = '1.58';
#ABSTRACT: replacement 'hints' files
use strict;
@@ -1580,7 +1580,10 @@
bCB3aXRoIHNoYXJlZCBsaWJwZXJsCglpZiBbICIkdXNlZGwiID0gIiRkZWZpbmUiIC1hIC1yIHNo
bGliX3ZlcnNpb24gXTsgdGhlbgoJCXVzZXNocnBsaWI9dHJ1ZQoJCWxpYnBlcmw9YC4gLi9zaGxp
Yl92ZXJzaW9uOyBlY2hvIGxpYnBlcmwuc28uJHttYWpvcn0uJHttaW5vcn1gCglmaQoJOzsKZXNh
-YwoKIyBlbmQK',
+YwoKIyBvcGVuYnNkIGhhcyBhIHByb2JsZW0gcmVnYXJkaW5nIG5ld2xvY2FsZSgpCiMgaHR0cHM6
+Ly9tYXJjLmluZm8vP2w9b3BlbmJzZC1idWdzJm09MTU1MzY0NTY4NjA4NzU5Jnc9MgojIHdoaWNo
+IGlzIGJlaW5nIGZpeGVkLiAgSW4gdGhlIG1lYW50aW1lLCBmb3JiaWQgUE9TSVggMjAwOCBsb2Nh
+bGVzCmRfbmV3bG9jYWxlPSIkdW5kZWYiCgojIGVuZAo=',
'solaris' =>
'IyBoaW50cy9zb2xhcmlzXzIuc2gKIyBDb250cmlidXRpb25zIGJ5IChpbiBhbHBoYWJldGljYWwg
b3JkZXIpIEFsYW4gQnVybGlzb24sIEFuZHkgRG91Z2hlcnR5LAojIERlYW4gUm9laHJpY2gsIEph
@@ -2035,7 +2038,7 @@
=head1 VERSION
-version 1.56
+version 1.58
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.56/lib/Devel/PatchPerl/Plugin.pm
new/Devel-PatchPerl-1.58/lib/Devel/PatchPerl/Plugin.pm
--- old/Devel-PatchPerl-1.56/lib/Devel/PatchPerl/Plugin.pm 2019-02-26
15:02:37.000000000 +0100
+++ new/Devel-PatchPerl-1.58/lib/Devel/PatchPerl/Plugin.pm 2019-04-26
17:52:07.000000000 +0200
@@ -1,5 +1,5 @@
package Devel::PatchPerl::Plugin;
-$Devel::PatchPerl::Plugin::VERSION = '1.56';
+$Devel::PatchPerl::Plugin::VERSION = '1.58';
#ABSTRACT: Devel::PatchPerl plugins explained
use strict;
@@ -19,7 +19,7 @@
=head1 VERSION
-version 1.56
+version 1.58
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.56/lib/Devel/PatchPerl.pm
new/Devel-PatchPerl-1.58/lib/Devel/PatchPerl.pm
--- old/Devel-PatchPerl-1.56/lib/Devel/PatchPerl.pm 2019-02-26
15:02:37.000000000 +0100
+++ new/Devel-PatchPerl-1.58/lib/Devel/PatchPerl.pm 2019-04-26
17:52:07.000000000 +0200
@@ -1,5 +1,5 @@
package Devel::PatchPerl;
-$Devel::PatchPerl::VERSION = '1.56';
+$Devel::PatchPerl::VERSION = '1.58';
# ABSTRACT: Patch perl source a la Devel::PPPort's buildperl.pl
use strict;
@@ -11,7 +11,7 @@
use Module::Pluggable search_path => ['Devel::PatchPerl::Plugin'];
use vars qw[@ISA @EXPORT_OK];
-use constant CERTIFIED => 5.029008; # Anything less than this
+use constant CERTIFIED => 5.029010; # Anything less than this
@ISA = qw(Exporter);
@EXPORT_OK = qw(patch_source);
@@ -187,6 +187,9 @@
[ \&_patch_patchlevel ],
[ \&_patch_develpatchperlversion ],
[ \&_patch_errno_gcc5 ],
+ [ \&_patch_conf_fwrapv ],
+ [ \&_patch_utils_h2ph ],
+ [ \&_patch_lib_h2ph ],
],
},
{
@@ -7748,6 +7751,133 @@
END
}
+sub _patch_conf_fwrapv {
+ my $perlver = shift;
+ my $num = _norm_ver( $perlver );
+ return unless $num < 5.019011;
+ _patch(<<'FWRAPV');
+diff --git a/Configure b/Configure
+index 15b3da1769..791889a2ab 100755
+--- a/Configure
++++ b/Configure
+@@ -4643,6 +4643,22 @@ case "$gccversion" in
+ $rm -f try try.*
+ esac
+
++# gcc 4.9 by default does some optimizations that break perl.
++# see ticket 121505.
++#
++# The -fwrapv disables those optimizations (and probably others,) so
++# for gcc 4.9 (and later, since the optimizations probably won't go
++# away), add -fwrapv unless the user requests -fno-wrapv, which
++# disables -fwrapv, or if the user requests -fsanitize=undefined,
++# which turns the overflows -fwrapv ignores into runtime errors.
++case "$gccversion" in
++4.[3-9].*|4.[1-9][0-9]*|[5-9].*|[1-9][0-9]*)
++ case "$ccflags" in
++ *-fno-wrapv*|*-fsanitize=undefined*|*-fwrapv*) ;;
++ *) ccflags="$ccflags -fwrapv" ;;
++ esac
++esac
++
+ : What should the include directory be ?
+ : Use sysroot if set, so findhdr looks in the right place.
+ echo " "
+FWRAPV
+}
+
+sub _patch_utils_h2ph {
+ my $perlver = shift;
+ my $num = _norm_ver( $perlver );
+ return unless $num < 5.021010;
+ _patch(<<'UH2PH');
+--- utils/h2ph.PL
++++ utils/h2ph.PL
+@@ -788,6 +788,11 @@ sub build_preamble_if_necessary
+
+ open PREAMBLE, ">$preamble" or die "Cannot open $preamble: $!";
+ print PREAMBLE "# This file was created by h2ph version $VERSION\n";
++ # Prevent non-portable hex constants from warning.
++ #
++ # We still produce an overflow warning if we can't represent
++ # a hex constant as an integer.
++ print PREAMBLE "no warnings qw(portable);\n";
+
+ foreach (sort keys %define) {
+ if ($opt_D) {
+@@ -814,6 +819,18 @@ DEFINE
+ # integer:
+ print PREAMBLE
+ "unless (defined &$_) { sub $_() { $1 } }\n\n";
++ } elsif ($define{$_} =~ /^([+-]?0x[\da-f]+)U?L{0,2}$/i) {
++ # hex integer
++ # Special cased, since perl warns on hex integers
++ # that can't be represented in a UV.
++ #
++ # This way we get the warning at time of use, so the user
++ # only gets the warning if they happen to use this
++ # platform-specific definition.
++ my $code = $1;
++ $code = "hex('$code')" if length $code > 10;
++ print PREAMBLE
++ "unless (defined &$_) { sub $_() { $code } }\n\n";
+ } elsif ($define{$_} =~ /^\w+$/) {
+ my $def = $define{$_};
+ if ($isatype{$def}) {
+UH2PH
+}
+
+sub _patch_lib_h2ph {
+ my $perlver = shift;
+ my $num = _norm_ver( $perlver );
+ return unless $num < 5.021010;
+ if ( $num >= 5.013005 ) {
+ _patch(<<'LH2PH1');
+--- lib/h2ph.t
++++ lib/h2ph.t
+@@ -48,7 +48,7 @@ $result = runperl( progfile => '_h2ph_pre.ph',
+ stderr => 1 );
+ like( $result, qr/syntax OK$/, "preamble compiles");
+
+-$result = runperl( switches => ["-w"],
++$result = runperl( switches => ['-I.', "-w"],
+ stderr => 1,
+ prog => <<'PROG' );
+ $SIG{__WARN__} = sub { die $_[0] }; require q(lib/h2ph.pht);
+LH2PH1
+ }
+ elsif ( $num >= 5.013001 ) {
+ _patch(<<'LH2PH2');
+--- lib/h2ph.t
++++ lib/h2ph.t
+@@ -48,7 +48,7 @@ $result = runperl( progfile => '_h2ph_pre.ph',
+ stderr => 1 );
+ like( $result, qr/syntax OK$/, "preamble compiles");
+
+-$result = runperl( switches => ["-w"],
++$result = runperl( switches => ['-I.', "-w"],
+ stderr => 1,
+ prog => <<'PROG' );
+ $SIG{__WARN__} = sub { die $_[0] }; require q(lib/h2ph.pht);
+LH2PH2
+ }
+ elsif ( $num >= 5.010001 ) {
+ _patch(<<'LH2PH3');
+--- lib/h2ph.t
++++ lib/h2ph.t
+@@ -41,7 +41,7 @@ $result = runperl( progfile => 'lib/h2ph.pht',
+ stderr => 1 );
+ like( $result, qr/syntax OK$/, "output compiles");
+
+-$result = runperl( switches => ["-w"],
++$result = runperl( switches => ['-I.',"-w"],
+ prog => '$SIG{__WARN__} = sub { die $_[0] }; require
q(lib/h2ph.pht);');
+ is( $result, '', "output free of warnings" );
+
+LH2PH3
+ }
+}
+
qq[patchin'];
__END__
@@ -7762,7 +7892,7 @@
=head1 VERSION
-version 1.56
+version 1.58
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.56/t/01-hints.t
new/Devel-PatchPerl-1.58/t/01-hints.t
--- old/Devel-PatchPerl-1.56/t/01-hints.t 2019-02-26 15:02:37.000000000
+0100
+++ new/Devel-PatchPerl-1.58/t/01-hints.t 2019-04-26 17:52:07.000000000
+0200
@@ -1,7 +1,7 @@
use strict;
use warnings;
use Test::More qw[no_plan];
-use Devel::PatchPerl::Hints qw[hint_file];
+use Devel::PatchPerl::Hints qw[hint_file hints];
{
my $content = hint_file('freebsd');
@@ -32,3 +32,7 @@
{
ok( $_, 'We got content' ) for map { scalar hint_file( $_ ) } qw(freebsd
netbsd linux darwin hpux);
}
+
+{
+ ok( $_, 'We got content' ) for map { scalar hint_file( $_ ) } hints();
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-PatchPerl-1.56/t/04_noplugin.t
new/Devel-PatchPerl-1.58/t/04_noplugin.t
--- old/Devel-PatchPerl-1.56/t/04_noplugin.t 1970-01-01 01:00:00.000000000
+0100
+++ new/Devel-PatchPerl-1.58/t/04_noplugin.t 2019-04-26 17:52:07.000000000
+0200
@@ -0,0 +1,11 @@
+use strict;
+use warnings;
+use lib 't/lib';
+BEGIN {
+ $ENV{PERL5_PATCHPERL_PLUGIN} = 'BOLLUCKS';
+}
+use Test::More qq'no_plan';
+use File::Spec;
+use Devel::PatchPerl;
+my $result = Devel::PatchPerl::_process_plugin(version => '5.14.2');
+ok( !$result, 'The result was okay' );