SHA256
1
0
forked from pool/perl
perl/perl-5.22.0_wrong_rpm_provides.diff
Dirk Stoecker 48e098c467 Accepting request 347821 from home:dstoecker:branches:devel:languages:perl
Prevent wrong provides in perl, which break version requires for these two packages Math::BigInt and DB.

OBS-URL: https://build.opensuse.org/request/show/347821
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=133
2015-12-09 11:12:36 +00:00

27 lines
977 B
Diff

diff -ur perl-5.22.0/dist/Math-BigInt/lib/Math/BigInt/CalcEmu.pm perl-5.22.0_fix/dist/Math-BigInt/lib/Math/BigInt/CalcEmu.pm
--- perl-5.22.0/dist/Math-BigInt/lib/Math/BigInt/CalcEmu.pm 2015-05-13 22:19:29.000000000 +0200
+++ perl-5.22.0_fix/dist/Math-BigInt/lib/Math/BigInt/CalcEmu.pm 2015-12-07 17:56:35.717373572 +0100
@@ -7,7 +7,8 @@
$VERSION = '1.9997';
-package Math::BigInt;
+package Math::BigInt # line break to prevent wrong rpm provides
+;
# See SYNOPSIS below.
diff -ur perl-5.22.0/lib/sigtrap.pm perl-5.22.0_fix/lib/sigtrap.pm
--- perl-5.22.0/lib/sigtrap.pm 2015-05-13 22:19:30.000000000 +0200
+++ perl-5.22.0_fix/lib/sigtrap.pm 2015-12-07 17:56:26.971631933 +0100
@@ -80,7 +80,8 @@
}
sub handler_traceback {
- package DB; # To get subroutine args.
+ package DB # line break to prevent wrong rpm provides
+ ; # To get subroutine args.
$SIG{'ABRT'} = DEFAULT;
kill 'ABRT', $$ if $panic++;
syswrite(STDERR, 'Caught a SIG', 12);