app-text/xindy: Fix building with perl-5.26, #622702

This commit is contained in:
Martin Väth
2017-06-25 20:10:17 +02:00
committed by Alexis Ballier
parent 39c379b6e2
commit e57cd89dc7
2 changed files with 13 additions and 1 deletions

View File

@@ -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;

View File

@@ -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() {