diff options
-rw-r--r-- | dev-perl/Devel-Refactor/Devel-Refactor-0.50.0-r1.ebuild | 4 | ||||
-rw-r--r-- | dev-perl/Devel-Refactor/files/Devel-Refactor-0.50.0-perl526.patch | 30 |
2 files changed, 32 insertions, 2 deletions
diff --git a/dev-perl/Devel-Refactor/Devel-Refactor-0.50.0-r1.ebuild b/dev-perl/Devel-Refactor/Devel-Refactor-0.50.0-r1.ebuild index b13b57a5c65..57a202400a6 100644 --- a/dev-perl/Devel-Refactor/Devel-Refactor-0.50.0-r1.ebuild +++ b/dev-perl/Devel-Refactor/Devel-Refactor-0.50.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -12,5 +12,5 @@ DESCRIPTION="Perl extension for refactoring Perl code" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" - +PATCHES=( "${FILESDIR}/${P}-perl526.patch" ) SRC_TEST="do" diff --git a/dev-perl/Devel-Refactor/files/Devel-Refactor-0.50.0-perl526.patch b/dev-perl/Devel-Refactor/files/Devel-Refactor-0.50.0-perl526.patch new file mode 100644 index 00000000000..40d5c2f6b22 --- /dev/null +++ b/dev-perl/Devel-Refactor/files/Devel-Refactor-0.50.0-perl526.patch @@ -0,0 +1,30 @@ +From f7e1813ec2d1be584499f5f2a968dc1bf430fe5b Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Sat, 7 Oct 2017 00:22:26 +1300 +Subject: t/basic.t: Fix test failure on 5.26 + +use_ok should use the fully qualified name as it runs with blib +during `make test` + +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=121180 +Bug: https://bugs.gentoo.org/615738 +--- + t/basic.t | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/t/basic.t b/t/basic.t +index dd8cefc..8f09e23 100755 +--- a/t/basic.t ++++ b/t/basic.t +@@ -7,7 +7,7 @@ use Data::Dumper; + + BEGIN { + # diag "\@INC contains:\n", join("\n",@INC); +- use_ok 'Refactor'; ++ use_ok 'Devel::Refactor'; + } + + my $rf = Devel::Refactor->new; +-- +2.14.1 + |