Control: tag -1 + patch
On Tue, 07 Jun 2016 15:28:42 +0200, =?UTF-8?Q?Preu=C3=9Fe wrote:
> On 05.06.2016 19:49, Niko Tyni wrote:
>
> Dear Heiko,
>
> here in the DBTS we got a bug report about a small syntax error in thumbpdf.
> It
> becomes visible when calling the script using perl 5.22. Simply call thumbpdf
> w/
> argument:
>
> hille@sid:~ $ thumbpdf
> Unescaped left brace in regex is deprecated, passed through in regex; marked
> by
> <-- HERE in m/\\UseRGB{ <-- HERE (\d+)}\\\s*\d+\s*R/ at /usr/bin/thumbpdf
> line 1456.
> THUMBPDF 3.16, 2014/07/15 - Copyright (c) 1999-2014 by Heiko Oberdiek.
> Syntax: thumbpdf [options]
>
> Fix should be straight forward, please be so kind to comment on this and
> upload
> a fixed package.
Here's a one-character-patch for this issue.
Cheers,
gregor
--
.''`. https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`-
diff -Nru texlive-base-2017.20170801/debian/changelog texlive-base-2017.20170801/debian/changelog
--- texlive-base-2017.20170801/debian/changelog 2017-08-01 03:06:47.0 -0400
+++ texlive-base-2017.20170801/debian/changelog 2017-08-07 19:23:07.0 -0400
@@ -1,3 +1,12 @@
+texlive-base (2017.20170801-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix "Unescaped left brace in regex is deprecated":
+add patch thumbpdf-unescaped-left-brace to fix unescaped literal curly.
+(Closes: #826465)
+
+ -- gregor herrmann Mon, 07 Aug 2017 19:23:07 -0400
+
texlive-base (2017.20170801-1) unstable; urgency=medium
* new upstream checkout: The Long Dark release!
diff -Nru texlive-base-2017.20170801/debian/patches/series texlive-base-2017.20170801/debian/patches/series
--- texlive-base-2017.20170801/debian/patches/series 2017-07-24 20:59:46.0 -0400
+++ texlive-base-2017.20170801/debian/patches/series 2017-08-07 19:23:07.0 -0400
@@ -29,3 +29,4 @@
texdoctk-colors
oberdiek-fix-boxdraw
texdoctk-warn-missing-perltk
+thumbpdf-unescaped-left-brace
diff -Nru texlive-base-2017.20170801/debian/patches/thumbpdf-unescaped-left-brace texlive-base-2017.20170801/debian/patches/thumbpdf-unescaped-left-brace
--- texlive-base-2017.20170801/debian/patches/thumbpdf-unescaped-left-brace 1969-12-31 19:00:00.0 -0500
+++ texlive-base-2017.20170801/debian/patches/thumbpdf-unescaped-left-brace 2017-08-07 19:23:07.0 -0400
@@ -0,0 +1,18 @@
+Description: Fix "Unescaped left brace in regex is illegal here in regex" error
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/826465
+Forwarded: no
+Author: gregor herrmann
+Last-Update: 2017-08-07
+
+--- a/texmf-dist/scripts/thumbpdf/thumbpdf.pl
b/texmf-dist/scripts/thumbpdf/thumbpdf.pl
+@@ -1453,7 +1453,7 @@
+ my $length = $thumblength[$i];
+ my $dict = $objtext[$thumbobj[$i]];
+ $dict =~ s/\\the\\pdflastobj\\\s*\d+\s*R/{RGB_$i}/;
+-$dict =~ s/\\UseRGB{(\d+)}\\\s*\d+\s*R/{RGB_$1}/;
++$dict =~ s/\\UseRGB\{(\d+)}\\\s*\d+\s*R/{RGB_$1}/;
+ $dict =~ s/\/Length\s+\d+\s*//;
+ $dict =~ s/^\s+//;
+ $dict =~ s/\s+$//;
signature.asc
Description: Digital Signature