From 6d178b36a7ac2b0e5d67868fdcd3992ac04f2cd4 Mon Sep 17 00:00:00 2001
From: Dan Kelley <kelley.dan@gmail.com>
Date: Wed, 21 Jun 2017 17:14:56 -0300
Subject: [PATCH] doc-building update
Thanks to Damyan Ivanov for the patch. Below is the info from the
associated message to the debian bug tracking system:
Bug#865482: src:gri: FTBFS with perl 5.26 -- Unescaped left brace in
User: debian-perl@lists.debian.org
Usertags: perl-5.26-transition
gri fails to build with perl 5.26 currently in experimental.
The attached patch makes it build again by escaping curly braces in
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8),
LANGUAGE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
doc/texinfo2HTML | 72 ++++++++++++++++++++++++++++----------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
diff --git a/doc/texinfo2HTML b/doc/texinfo2HTML
index 618d6ad..15962b3 100755
@@ -119,7 +119,7 @@ while(get_a_line()) {
# Process image commands (NOT...it's there already)
+ if (/\@image\{(.*)\}/) {
#print "<img src=\"$1.gif\" border=\"1\">\n";
@@ -207,12 +207,12 @@ while(get_a_line()) {
# Special tweak to make 'Gri' look cooler.
# s, Gri , G<FONT SIZE=-1>RI</FONT> ,og;
- s,\@code{\@\@},\@code{TEXINFO2HTML-AT-AT},og;
+ s,\@code\{\@\@\},\@code{TEXINFO2HTML-AT-AT},og;
s,\@},TEXINFO2HTML-CLOSE-BRACE,og; # retain inside e.g. @code{}
s,\@\@,TEXINFO2HTML-AT-AT,og;