summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-20 05:49:39 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-20 05:50:03 +1200
commit9135bdf7a588f2a5da09e0b8f365e0406264de04 (patch)
tree956b31eb3e86eefeeb81461c7153d45456691970
parentdev-python/pytables: amd64 stable wrt bug #606302 (diff)
downloadgentoo-9135bdf7a588f2a5da09e0b8f365e0406264de04.tar.gz
gentoo-9135bdf7a588f2a5da09e0b8f365e0406264de04.tar.bz2
gentoo-9135bdf7a588f2a5da09e0b8f365e0406264de04.zip
dev-perl/Params-Classify: Fix for test failures without '.' in @INC
Package-Manager: Portage-2.3.6, Repoman-2.3.2
-rw-r--r--dev-perl/Params-Classify/Params-Classify-0.13.0-r1.ebuild3
-rw-r--r--dev-perl/Params-Classify/files/Params-Classify-0.13.0-no-dot-inc.patch101
2 files changed, 103 insertions, 1 deletions
diff --git a/dev-perl/Params-Classify/Params-Classify-0.13.0-r1.ebuild b/dev-perl/Params-Classify/Params-Classify-0.13.0-r1.ebuild
index a4eecbd4280e..ccc8c5302f94 100644
--- a/dev-perl/Params-Classify/Params-Classify-0.13.0-r1.ebuild
+++ b/dev-perl/Params-Classify/Params-Classify-0.13.0-r1.ebuild
@@ -13,7 +13,8 @@ SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~s390 ~sh ~sparc ~x86 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
IUSE="test"
-PATCHES=( "${FILESDIR}/${P}-op_sibling.patch" )
+PATCHES=( "${FILESDIR}/${P}-op_sibling.patch"
+ "${FILESDIR}/${P}-no-dot-inc.patch" )
RDEPEND="
>=virtual/perl-Scalar-List-Utils-1.10.0
diff --git a/dev-perl/Params-Classify/files/Params-Classify-0.13.0-no-dot-inc.patch b/dev-perl/Params-Classify/files/Params-Classify-0.13.0-no-dot-inc.patch
new file mode 100644
index 000000000000..06cf4f49cbbb
--- /dev/null
+++ b/dev-perl/Params-Classify/files/Params-Classify-0.13.0-no-dot-inc.patch
@@ -0,0 +1,101 @@
+From d612219a1a3bfe14f0cd1de59709724b35d7f21c Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentfredric@gmail.com>
+Date: Tue, 20 Jun 2017 05:45:39 +1200
+Subject: [PATCH] Fix for '.' in @INC
+
+---
+ t/blessed_pp.t | 4 ++--
+ t/check_pp.t | 4 ++--
+ t/classify_pp.t | 4 ++--
+ t/error_pp.t | 4 ++--
+ t/pod_cvg_pp.t | 4 ++--
+ t/ref_pp.t | 4 ++--
+ 6 files changed, 12 insertions(+), 12 deletions(-)
+
+diff --git a/t/blessed_pp.t b/t/blessed_pp.t
+index 84caf74..e6d1865 100644
+--- a/t/blessed_pp.t
++++ b/t/blessed_pp.t
+@@ -1,7 +1,7 @@
+ use warnings;
+ use strict;
+
+-do "t/setup_pp.pl" or die $@ || $!;
+-do "t/blessed.t" or die $@ || $!;
++do "./t/setup_pp.pl" or die $@ || $!;
++do "./t/blessed.t" or die $@ || $!;
+
+ 1;
+diff --git a/t/check_pp.t b/t/check_pp.t
+index ce2ef1d..5564360 100644
+--- a/t/check_pp.t
++++ b/t/check_pp.t
+@@ -1,7 +1,7 @@
+ use warnings;
+ use strict;
+
+-do "t/setup_pp.pl" or die $@ || $!;
+-do "t/check.t" or die $@ || $!;
++do "./t/setup_pp.pl" or die $@ || $!;
++do "./t/check.t" or die $@ || $!;
+
+ 1;
+diff --git a/t/classify_pp.t b/t/classify_pp.t
+index facdab2..1dd9cbc 100644
+--- a/t/classify_pp.t
++++ b/t/classify_pp.t
+@@ -1,7 +1,7 @@
+ use warnings;
+ use strict;
+
+-do "t/setup_pp.pl" or die $@ || $!;
+-do "t/classify.t" or die $@ || $!;
++do "./t/setup_pp.pl" or die $@ || $!;
++do "./t/classify.t" or die $@ || $!;
+
+ 1;
+diff --git a/t/error_pp.t b/t/error_pp.t
+index 6473533..a018e32 100644
+--- a/t/error_pp.t
++++ b/t/error_pp.t
+@@ -1,7 +1,7 @@
+ use warnings;
+ use strict;
+
+-do "t/setup_pp.pl" or die $@ || $!;
+-do "t/error.t" or die $@ || $!;
++do "./t/setup_pp.pl" or die $@ || $!;
++do "./t/error.t" or die $@ || $!;
+
+ 1;
+diff --git a/t/pod_cvg_pp.t b/t/pod_cvg_pp.t
+index 960bc4f..8503674 100644
+--- a/t/pod_cvg_pp.t
++++ b/t/pod_cvg_pp.t
+@@ -1,7 +1,7 @@
+ use warnings;
+ use strict;
+
+-do "t/setup_pp.pl" or die $@ || $!;
+-do "t/pod_cvg.t" or die $@ || $!;
++do "./t/setup_pp.pl" or die $@ || $!;
++do "./t/pod_cvg.t" or die $@ || $!;
+
+ 1;
+diff --git a/t/ref_pp.t b/t/ref_pp.t
+index f3b5941..55f487d 100644
+--- a/t/ref_pp.t
++++ b/t/ref_pp.t
+@@ -1,7 +1,7 @@
+ use warnings;
+ use strict;
+
+-do "t/setup_pp.pl" or die $@ || $!;
+-do "t/ref.t" or die $@ || $!;
++do "./t/setup_pp.pl" or die $@ || $!;
++do "./t/ref.t" or die $@ || $!;
+
+ 1;
+--
+2.13.1
+