commit:     0b4808a5c3e6c90d448b662d912505bf6c1d7e36
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 24 06:42:00 2017 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Sat Jun 24 06:42:22 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b4808a5

dev-perl/Term-ANSIScreen: Fix for '.' in @INC re bug #617056

Fix for Perl 5.26 @INC changes

Bug: https://bugs.gentoo.org/617056
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../Term-ANSIScreen-1.500.0-r1.ebuild              |  4 +++-
 .../files/Term-ANSIScreen-1.50-no-dot-inc.patch    | 23 ++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/dev-perl/Term-ANSIScreen/Term-ANSIScreen-1.500.0-r1.ebuild 
b/dev-perl/Term-ANSIScreen/Term-ANSIScreen-1.500.0-r1.ebuild
index 254bf0a126e..d37a88edf87 100644
--- a/dev-perl/Term-ANSIScreen/Term-ANSIScreen-1.500.0-r1.ebuild
+++ b/dev-perl/Term-ANSIScreen/Term-ANSIScreen-1.500.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
@@ -15,3 +15,5 @@ KEYWORDS="amd64 hppa ~ppc x86"
 IUSE=""
 
 SRC_TEST="do"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.50-no-dot-inc.patch )

diff --git 
a/dev-perl/Term-ANSIScreen/files/Term-ANSIScreen-1.50-no-dot-inc.patch 
b/dev-perl/Term-ANSIScreen/files/Term-ANSIScreen-1.50-no-dot-inc.patch
new file mode 100644
index 00000000000..3d643c9b2fd
--- /dev/null
+++ b/dev-perl/Term-ANSIScreen/files/Term-ANSIScreen-1.50-no-dot-inc.patch
@@ -0,0 +1,23 @@
+From 75c5a03ac9b41d6dfd67b3b5c02b8942874fc94b Mon Sep 17 00:00:00 2001
+From: Kent Fredric <[email protected]>
+Date: Sat, 24 Jun 2017 18:36:10 +1200
+Subject: [PATCH] Fix for '.' in @INC
+
+Bug: https://bugs.gentoo.org/show_bug.cgi?id=617056
+Bug: https://rt.cpan.org/Ticket/Display.html?id=120879
+---
+ Makefile.PL | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index dafb7c9..c69a7b1 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,2 +1,3 @@
+ #!/usr/bin/env perl
+-use inc::Module::Package 'Au:dry 1';
++use lib 'inc';
++use Module::Package 'Au:dry 1';
+-- 
+2.13.1
+

Reply via email to