summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-09-23 15:53:05 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-09-23 15:53:39 +0200
commit8eb4f778e7bd246e0afcd2b3b51ba4fea03c1ab2 (patch)
treed6b595d8f415b4d733f313e49ef8a842bd07a0c1 /dev-tex/latex2html/files
parentsci-libs/fftw: stable 3.3.6_p2 for ppc, bug #631770 (diff)
downloadgentoo-8eb4f778e7bd246e0afcd2b3b51ba4fea03c1ab2.tar.gz
gentoo-8eb4f778e7bd246e0afcd2b3b51ba4fea03c1ab2.tar.bz2
gentoo-8eb4f778e7bd246e0afcd2b3b51ba4fea03c1ab2.zip
dev-tex/latex2html: Found and fixed the last unescaped left brace. Bug 617760.
Closes: https://bugs.gentoo.org/617760 Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-tex/latex2html/files')
-rw-r--r--dev-tex/latex2html/files/latex2html-2017.2-brace-2.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-tex/latex2html/files/latex2html-2017.2-brace-2.patch b/dev-tex/latex2html/files/latex2html-2017.2-brace-2.patch
new file mode 100644
index 000000000000..533cbc0c75cf
--- /dev/null
+++ b/dev-tex/latex2html/files/latex2html-2017.2-brace-2.patch
@@ -0,0 +1,12 @@
+diff -ruN latex2html-2017.2.orig/styles/frames.perl latex2html-2017.2/styles/frames.perl
+--- latex2html-2017.2.orig/styles/frames.perl 2017-01-23 18:14:25.000000000 +0100
++++ latex2html-2017.2/styles/frames.perl 2017-09-23 15:49:27.184088195 +0200
+@@ -706,7 +706,7 @@
+ $_[0] =~ s/<(META NAME|LINK)[^>]*>\s*//g;
+ $_[0] =~ s/$more_links_mark/$NO_ROBOTS\n$LATEX2HTML_META/g;
+ local($savedRS)=$/; $/ = '';
+- $_[0] =~ s/\n{2;}/\n/sg;
++ $_[0] =~ s/\n\{2;}/\n/sg;
+ $_[0] =~ s/\s$//s;
+ $_[0] =~ s!\s*(\n</HEAD>\n)\s*!$1!s;
+ $/ = $savedRS;