summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2017-06-25 20:10:17 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-06-26 11:21:36 +0200
commite57cd89dc7ec98ef47421f4d22bf0f6a0e560923 (patch)
tree64eb523704746bd2d9051e2e5f065d8e63b9d102 /app-text/xindy
parentmedia-libs/libggi: keyword ~arm64 (diff)
downloadgentoo-e57cd89dc7ec98ef47421f4d22bf0f6a0e560923.tar.gz
gentoo-e57cd89dc7ec98ef47421f4d22bf0f6a0e560923.tar.bz2
gentoo-e57cd89dc7ec98ef47421f4d22bf0f6a0e560923.zip
app-text/xindy: Fix building with perl-5.26, #622702
Diffstat (limited to 'app-text/xindy')
-rw-r--r--app-text/xindy/files/xindy-2.4-perl5.26.patch11
-rw-r--r--app-text/xindy/xindy-2.4-r1.ebuild3
2 files changed, 13 insertions, 1 deletions
diff --git a/app-text/xindy/files/xindy-2.4-perl5.26.patch b/app-text/xindy/files/xindy-2.4-perl5.26.patch
new file mode 100644
index 000000000000..657b5e94c362
--- /dev/null
+++ b/app-text/xindy/files/xindy-2.4-perl5.26.patch
@@ -0,0 +1,11 @@
+--- xindy-2.4/make-rules/inputenc/make-inp-rules.pl
++++ xindy-2.4/make-rules/inputenc/make-inp-rules.pl
+@@ -8,7 +8,7 @@
+
+
+ while (<STDIN>) {
+- if (/\\indexentry{(.+)--([8-9a-f][0-9a-f])\}\{1\}/) {
++ if (/\\indexentry\{(.+)--([8-9a-f][0-9a-f])\}\{1\}/) {
+ if (!($1 =~ /inputenc Error/)) {
+ $i = hex($2);
+ $macro = $1;
diff --git a/app-text/xindy/xindy-2.4-r1.ebuild b/app-text/xindy/xindy-2.4-r1.ebuild
index d85f229fad3d..4575091c5636 100644
--- a/app-text/xindy/xindy-2.4-r1.ebuild
+++ b/app-text/xindy/xindy-2.4-r1.ebuild
@@ -24,7 +24,8 @@ DEPEND="${RDEPEND}
PATCHES=("${FILESDIR}"/${P}-configure.patch
"${FILESDIR}"/${P}-locale.patch
- "${FILESDIR}"/${P}-nogrep.patch)
+ "${FILESDIR}"/${P}-nogrep.patch
+ "${FILESDIR}"/${P}-perl5.26.patch)
DOCS=(AUTHORS ChangeLog.Gour NEWS README)
src_prepare() {