app-editors/XML-XSH2: Add build fix for Perl 5.26, bug 623216
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 8 Jul 2017 21:27:59 +0000 (23:27 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 8 Jul 2017 21:27:59 +0000 (23:27 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

app-editors/XML-XSH2/XML-XSH2-2.1.26.ebuild
app-editors/XML-XSH2/files/XML-XSH2-2.1.26-perl526.patch [new file with mode: 0644]

index 737f14ba86a1b5f849311c06e1573a849da76ae6..f83993ee46599aebdeb980a0398f418b612b1db4 100644 (file)
@@ -30,3 +30,5 @@ RDEPEND="
 DEPEND="${RDEPEND}
        virtual/perl-ExtUtils-MakeMaker
 "
+
+PATCHES=( "${FILESDIR}/${P}-perl526.patch" )
diff --git a/app-editors/XML-XSH2/files/XML-XSH2-2.1.26-perl526.patch b/app-editors/XML-XSH2/files/XML-XSH2-2.1.26-perl526.patch
new file mode 100644 (file)
index 0000000..c1232f3
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ruN XML-XSH2-2.1.26.orig/Makefile.PL XML-XSH2-2.1.26/Makefile.PL
+--- XML-XSH2-2.1.26.orig/Makefile.PL   2016-07-09 09:01:59.000000000 +0200
++++ XML-XSH2-2.1.26/Makefile.PL        2017-07-08 23:26:00.426453212 +0200
+@@ -4,6 +4,8 @@
+ 
+ use ExtUtils::MakeMaker;
+ 
++use lib q[.];
++
+ $| = 1;
+ 
+ WriteMakefile(