dev-perl/Term-ANSIScreen: Fix for '.' in @INC re bug #617056
authorKent Fredric <kentnl@gentoo.org>
Sat, 24 Jun 2017 06:42:00 +0000 (18:42 +1200)
committerKent Fredric <kentnl@gentoo.org>
Sat, 24 Jun 2017 06:42:22 +0000 (18:42 +1200)
Fix for Perl 5.26 @INC changes

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

dev-perl/Term-ANSIScreen/Term-ANSIScreen-1.500.0-r1.ebuild
dev-perl/Term-ANSIScreen/files/Term-ANSIScreen-1.50-no-dot-inc.patch [new file with mode: 0644]

index 254bf0a126e33e80c1998d67257a652bb54b4f99..d37a88edf873fa10e365ebc92bad77468849cfe7 100644 (file)
@@ -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 (file)
index 0000000..3d643c9
--- /dev/null
@@ -0,0 +1,23 @@
+From 75c5a03ac9b41d6dfd67b3b5c02b8942874fc94b Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentfredric@gmail.com>
+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
+