mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
app-text/xindy: Fix building with perl-5.26, #622702
This commit is contained in:
committed by
Alexis Ballier
parent
39c379b6e2
commit
e57cd89dc7
11
app-text/xindy/files/xindy-2.4-perl5.26.patch
Normal file
11
app-text/xindy/files/xindy-2.4-perl5.26.patch
Normal 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;
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user