diff options
author | Martin Väth <martin@mvath.de> | 2017-06-25 20:10:17 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-06-26 11:21:36 +0200 |
commit | e57cd89dc7ec98ef47421f4d22bf0f6a0e560923 (patch) | |
tree | 64eb523704746bd2d9051e2e5f065d8e63b9d102 /app-text/xindy | |
parent | 39c379b6e20fd008b82f46b73894ee2563b05db8 (diff) | |
download | gentoo-e57cd89dc7ec98ef47421f4d22bf0f6a0e560923.tar.gz gentoo-e57cd89dc7ec98ef47421f4d22bf0f6a0e560923.tar.xz |
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.patch | 11 | ||||
-rw-r--r-- | app-text/xindy/xindy-2.4-r1.ebuild | 3 |
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 00000000000..657b5e94c36 --- /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 d85f229fad3..4575091c563 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() { |