summaryrefslogtreecommitdiff
path: root/dev-perl/Math-BigInt-GMP/files/Math-BigInt-GMP-1.380.0-no-dot-inc.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/Math-BigInt-GMP/files/Math-BigInt-GMP-1.380.0-no-dot-inc.patch
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/Math-BigInt-GMP/files/Math-BigInt-GMP-1.380.0-no-dot-inc.patch')
-rw-r--r--dev-perl/Math-BigInt-GMP/files/Math-BigInt-GMP-1.380.0-no-dot-inc.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-perl/Math-BigInt-GMP/files/Math-BigInt-GMP-1.380.0-no-dot-inc.patch b/dev-perl/Math-BigInt-GMP/files/Math-BigInt-GMP-1.380.0-no-dot-inc.patch
new file mode 100644
index 000000000000..96e7f88d3e14
--- /dev/null
+++ b/dev-perl/Math-BigInt-GMP/files/Math-BigInt-GMP-1.380.0-no-dot-inc.patch
@@ -0,0 +1,37 @@
+From 4a57ce8560c39b71ba6b8220a63efcbf5aac82ea Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Mon, 30 Oct 2017 21:42:48 +1300
+Subject: Fix test failures without '.' in @INC
+
+Under PERL_USE_UNSAFE_INC=0
+
+Bug: https://bugs.gentoo.org/613642
+Bug: https://rt.cpan.org/Ticket/Display.html?id=120718
+---
+ t/bigfltpm.t | 2 +-
+ t/bigintpm.t | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/t/bigfltpm.t b/t/bigfltpm.t
+index de3c80e..89dea16 100644
+--- a/t/bigfltpm.t
++++ b/t/bigfltpm.t
+@@ -26,4 +26,4 @@ my $e = $c->bdiv(Math::BigFloat->new(3),$d);
+ is ($e,'0.00267'); # '0.008 / 3 => 0.0027');
+ is (ref($e->{_e}->[0]), ''); # 'Not a BigInt');
+
+-require 't/bigfltpm.inc'; # all tests here for sharing
++require './t/bigfltpm.inc'; # all tests here for sharing
+diff --git a/t/bigintpm.t b/t/bigintpm.t
+index 8f009ec..c05f135 100644
+--- a/t/bigintpm.t
++++ b/t/bigintpm.t
+@@ -33,4 +33,4 @@ is ($x, "9903520314281112085086151826", 'from_oct() works with big numbers');
+ #############################################################################
+ # all the other tests
+
+-require 't/bigintpm.inc'; # all tests here for sharing
++require './t/bigintpm.inc'; # all tests here for sharing
+--
+2.14.3
+