diff options
author | Kent Fredric <kentnl@gentoo.org> | 2017-06-24 18:42:00 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2017-06-24 18:42:22 +1200 |
commit | 0b4808a5c3e6c90d448b662d912505bf6c1d7e36 (patch) | |
tree | a767b66a3bf74ca452d981cf563fd86db5b984a1 /dev-perl | |
parent | dev-ruby/ruby-gettext: add 3.2.3 (diff) | |
download | gentoo-0b4808a5c3e6c90d448b662d912505bf6c1d7e36.tar.gz gentoo-0b4808a5c3e6c90d448b662d912505bf6c1d7e36.tar.bz2 gentoo-0b4808a5c3e6c90d448b662d912505bf6c1d7e36.zip |
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
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/Term-ANSIScreen/Term-ANSIScreen-1.500.0-r1.ebuild | 4 | ||||
-rw-r--r-- | dev-perl/Term-ANSIScreen/files/Term-ANSIScreen-1.50-no-dot-inc.patch | 23 |
2 files changed, 26 insertions, 1 deletions
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 254bf0a126e3..d37a88edf873 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 000000000000..3d643c9b2fdd --- /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 <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 + |