This is an automated email from the git hooks/post-receive script. ntyni pushed a commit to branch master in repository liblatex-decode-perl.
commit 2d3d0102cd2b984ce13004af04763f086ddac1e1 Author: Niko Tyni <[email protected]> Date: Sun Dec 27 22:23:19 2015 +0200 Fix regexp syntax for Perl 5.22 Closes: #809098 --- .../0001-Fix-regexp-syntax-for-Perl-5.22.patch | 29 ++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 30 insertions(+) diff --git a/debian/patches/0001-Fix-regexp-syntax-for-Perl-5.22.patch b/debian/patches/0001-Fix-regexp-syntax-for-Perl-5.22.patch new file mode 100644 index 0000000..2303dde --- /dev/null +++ b/debian/patches/0001-Fix-regexp-syntax-for-Perl-5.22.patch @@ -0,0 +1,29 @@ +From e6a481d4cf632a837135937f4f0995b9fd69ab99 Mon Sep 17 00:00:00 2001 +From: Niko Tyni <[email protected]> +Date: Sun, 27 Dec 2015 22:23:19 +0200 +Subject: [PATCH] Fix regexp syntax for Perl 5.22 + +Unescaped left brace in regex is deprecated, passed through in regex + +Bug-Debian: https://bugs.debian.org/809098 +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=110678 +--- + lib/LaTeX/Decode.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/LaTeX/Decode.pm b/lib/LaTeX/Decode.pm +index 7741405..92fef90 100644 +--- a/lib/LaTeX/Decode.pm ++++ b/lib/LaTeX/Decode.pm +@@ -130,7 +130,7 @@ sub latex_decode { + $text =~ s/\\not\\($NEG_SYMB_RE)/$NEGATEDSYMBOLS{$1}/ge; + $text =~ s/\\textsuperscript{($SUPER_RE)}/$SUPERSCRIPTS{$1}/ge; + $text =~ s/\\textsuperscript{\\($SUPERCMD_RE)}/$CMDSUPERSCRIPTS{$1}/ge; +- $text =~ s/\\dings{([2-9AF][0-9A-F])}/$DINGS{$1}/ge; ++ $text =~ s/\\dings\{([2-9AF][0-9A-F])}/$DINGS{$1}/ge; + } + + $text =~ s/(\\[a-zA-Z]+)\\(\s+)/$1\{\}$2/g; # \foo\ bar -> \foo{} bar +-- +2.6.4 + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..bd90738 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Fix-regexp-syntax-for-Perl-5.22.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblatex-decode-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
