diff options
Diffstat (limited to 'dev-perl/Convert-PEM/files/Convert-PEM-0.80.0-testbuilder.patch')
-rw-r--r-- | dev-perl/Convert-PEM/files/Convert-PEM-0.80.0-testbuilder.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-perl/Convert-PEM/files/Convert-PEM-0.80.0-testbuilder.patch b/dev-perl/Convert-PEM/files/Convert-PEM-0.80.0-testbuilder.patch new file mode 100644 index 000000000000..f12b64d5c5f4 --- /dev/null +++ b/dev-perl/Convert-PEM/files/Convert-PEM-0.80.0-testbuilder.patch @@ -0,0 +1,29 @@ +From 831b57ff2167e1192964c190271767e469dac48a Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Tue, 3 Oct 2017 05:01:21 +1300 +Subject: Fix Test::Builder warning + +Ideally upstream should just stop bundling Test::Builder, but this +is the smallest change that avoids the issue + +Bug: https://rt.cpan.org/Ticket/Display.html?id=111009 +--- + inc/Test/Builder.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/inc/Test/Builder.pm b/inc/Test/Builder.pm +index 795361f..6b0c8c3 100644 +--- a/inc/Test/Builder.pm ++++ b/inc/Test/Builder.pm +@@ -589,7 +589,7 @@ sub _is_dualvar { + + no warnings 'numeric'; + my $numval = $val + 0; +- return $numval != 0 and $numval ne $val ? 1 : 0; ++ return ($numval != 0 and $numval ne $val ? 1 : 0); + } + + #line 876 +-- +2.14.1 + |