dev-perl/Text-VimColor: Add build fix for Perl 5.26, bug 623140
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Fri, 4 Aug 2017 09:50:55 +0000 (11:50 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Fri, 4 Aug 2017 09:51:35 +0000 (11:51 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.3

dev-perl/Text-VimColor/Text-VimColor-0.260-r1.ebuild
dev-perl/Text-VimColor/files/Text-VimColor-0.260-perl526.patch [new file with mode: 0644]

index d997a60feda0bb54824f4e1d4b17a3ba3a02dc50..aa7290a59f4303145b7fef4868232b09173f3d22 100644 (file)
@@ -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 (file)
index 0000000..7d7159e
--- /dev/null
@@ -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;