summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-editors/XML-XSH2/XML-XSH2-2.1.26.ebuild2
-rw-r--r--app-editors/XML-XSH2/files/XML-XSH2-2.1.26-perl526.patch12
2 files changed, 14 insertions, 0 deletions
diff --git a/app-editors/XML-XSH2/XML-XSH2-2.1.26.ebuild b/app-editors/XML-XSH2/XML-XSH2-2.1.26.ebuild
index 737f14ba86a1..f83993ee4659 100644
--- a/app-editors/XML-XSH2/XML-XSH2-2.1.26.ebuild
+++ b/app-editors/XML-XSH2/XML-XSH2-2.1.26.ebuild
@@ -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
index 000000000000..c1232f3c935a
--- /dev/null
+++ b/app-editors/XML-XSH2/files/XML-XSH2-2.1.26-perl526.patch
@@ -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(