summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex/latex2html/files/latex2html-2017.2-brace-2.patch')
-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;