summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik v. Raven <hendrik@consetetur.de>2018-07-25 21:28:56 +0200
committerVirgil Dupras <vdupras@gentoo.org>2018-08-15 16:12:48 -0400
commitc36b43d48b205e711a75566ac5de4f511e67b038 (patch)
tree98684077cfda8fd1bb2e5e409bc31c282364526d /dev-tex/biber/files
parentmedia-gfx/blender: bump to version 1.79b (diff)
downloadgentoo-c36b43d48b205e711a75566ac5de4f511e67b038.tar.gz
gentoo-c36b43d48b205e711a75566ac5de4f511e67b038.tar.bz2
gentoo-c36b43d48b205e711a75566ac5de4f511e67b038.zip
dev-tex/biber: add patch to fix perl-5.26 warnings
Bug: https://bugs.gentoo.org/623410 Package-Manager: Portage-2.3.42, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/9349
Diffstat (limited to 'dev-tex/biber/files')
-rw-r--r--dev-tex/biber/files/biber-2.5-unescaped-left-brace-in-regex.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-tex/biber/files/biber-2.5-unescaped-left-brace-in-regex.patch b/dev-tex/biber/files/biber-2.5-unescaped-left-brace-in-regex.patch
new file mode 100644
index 000000000000..c84b6cdbbb96
--- /dev/null
+++ b/dev-tex/biber/files/biber-2.5-unescaped-left-brace-in-regex.patch
@@ -0,0 +1,12 @@
+diff -Naur ./lib/Biber/LaTeX/Recode.pm ./lib/Biber/LaTeX/Recode.pm
+--- ./lib/Biber/LaTeX/Recode.pm 2018-07-25 21:20:25.961547631 +0200
++++ ./lib/Biber/LaTeX/Recode.pm 2018-07-25 21:20:06.653779312 +0200
+@@ -292,7 +292,7 @@
+ # Workaround perl's lack of variable-width negative look-behind -
+ # Reverse string (and therefore some of the Re) and use variable width negative look-ahead
+ $text = reverse $text;
+- $text =~ s/}(\pM+\pL){(?!\pL+\\)/$1/g;
++ $text =~ s/}(\pM+\pL)\{(?!\pL+\\)/$1/g;
+ $text = reverse $text;
+ $logger->trace("String in latex_decode() now -> '$text'");
+