* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Devel-Refactor/, dev-perl/Devel-Refactor/files/
@ 2017-10-06 11:39 Kent Fredric
0 siblings, 0 replies; only message in thread
From: Kent Fredric @ 2017-10-06 11:39 UTC (permalink / raw
To: gentoo-commits
commit: a25241bfbe24651f5537029f86ffc2750b20024f
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 6 11:33:32 2017 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Oct 6 11:39:18 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a25241bf
dev-perl/Devel-Refactor: Fix test failures under perl 5.26 bug #615738
Closes: https://bugs.gentoo.org/615738
Package-Manager: Portage-2.3.8, Repoman-2.3.3
.../Devel-Refactor/Devel-Refactor-0.50.0-r1.ebuild | 4 +--
.../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
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-06 11:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-06 11:39 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Devel-Refactor/, dev-perl/Devel-Refactor/files/ Kent Fredric
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox