commit:     8ca215adf882a6a0df0f1cd765ec441992b3ba79
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  4 09:50:55 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Aug  4 09:51:35 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ca215ad

dev-perl/Text-VimColor: Add build fix for Perl 5.26, bug 623140

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-perl/Text-VimColor/Text-VimColor-0.260-r1.ebuild      | 15 +++++++++------
 .../Text-VimColor/files/Text-VimColor-0.260-perl526.patch | 12 ++++++++++++
 2 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/dev-perl/Text-VimColor/Text-VimColor-0.260-r1.ebuild 
b/dev-perl/Text-VimColor/Text-VimColor-0.260-r1.ebuild
index d997a60feda..aa7290a59f4 100644
--- a/dev-perl/Text-VimColor/Text-VimColor-0.260-r1.ebuild
+++ b/dev-perl/Text-VimColor/Text-VimColor-0.260-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-MODULE_VERSION=0.26
-MODULE_AUTHOR="RWSTAUNER"
+DIST_VERSION=0.26
+DIST_AUTHOR="RWSTAUNER"
 
 inherit perl-module
 
@@ -28,6 +28,9 @@ DEPEND="${RDEPEND}
                dev-perl/Path-Class
                dev-perl/XML-Parser
                dev-perl/Test-Pod
-       )"
+       )
+"
 
-SRC_TEST="do"
+PATCHES=(
+       "${FILESDIR}/${P}-perl526.patch"
+)

diff --git a/dev-perl/Text-VimColor/files/Text-VimColor-0.260-perl526.patch 
b/dev-perl/Text-VimColor/files/Text-VimColor-0.260-perl526.patch
new file mode 100644
index 00000000000..7d7159ea324
--- /dev/null
+++ b/dev-perl/Text-VimColor/files/Text-VimColor-0.260-perl526.patch
@@ -0,0 +1,12 @@
+diff -ruN Text-VimColor-0.26.orig/Makefile.PL Text-VimColor-0.26/Makefile.PL
+--- Text-VimColor-0.26.orig/Makefile.PL        2015-03-21 04:14:35.000000000 
-0000
++++ Text-VimColor-0.26/Makefile.PL     2017-08-04 09:46:55.760799972 -0000
+@@ -12,6 +12,8 @@
+ 
+ use 5.006;
+ 
++use lib q[.];
++
+ use inc::VimCommand;
+ use ExtUtils::MakeMaker;
+ 

Reply via email to