summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-07-08 23:27:59 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-07-08 23:27:59 +0200
commita80da3dd5f90009fad37c2b451c95af45beb624a (patch)
tree067804241ae17888c4780c296f0dfcd4f56a916d /app-editors
parentapp-editors/XML-XSH2: Version bump (diff)
downloadgentoo-a80da3dd5f90009fad37c2b451c95af45beb624a.tar.gz
gentoo-a80da3dd5f90009fad37c2b451c95af45beb624a.tar.bz2
gentoo-a80da3dd5f90009fad37c2b451c95af45beb624a.zip
app-editors/XML-XSH2: Add build fix for Perl 5.26, bug 623216
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-editors')
-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(