summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex/latex2html/files/latex2html-convert-length.patch')
-rw-r--r--dev-tex/latex2html/files/latex2html-convert-length.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-tex/latex2html/files/latex2html-convert-length.patch b/dev-tex/latex2html/files/latex2html-convert-length.patch
new file mode 100644
index 00000000000..4171fd7c05e
--- /dev/null
+++ b/dev-tex/latex2html/files/latex2html-convert-length.patch
@@ -0,0 +1,22 @@
+--- latex2html-2002-2-1/versions/html2_2.pl.old 2006-02-21 20:37:50.000000000 +0100
++++ latex2html-2002-2-1/versions/html2_2.pl 2006-02-21 20:38:03.000000000 +0100
+@@ -91,7 +91,7 @@
+ ($pxs,$len);
+ }
+ # should no longer be needed, as this is defined in latex2html.pin
+-if (undefined &convert_length) { sub convert_length {&convert_length_table(@_)} }
++if (!defined (&convert_length)) { sub convert_length {&convert_length_table(@_)} }
+
+ # Translates LaTeX column specifications to HTML. Again, Netscape
+ # needs some extra work with its width attributes in the <td> tags.
+--- latex2html-2002-2-1/versions/table.pl.old 2006-02-21 20:37:54.000000000 +0100
++++ latex2html-2002-2-1/versions/table.pl 2006-02-21 20:38:11.000000000 +0100
+@@ -91,7 +91,7 @@
+ ($pxs,$len);
+ }
+ # should no longer be needed, as this is defined in latex2html.pin
+-if (undefined &convert_length) { sub convert_length {&convert_length_table(@_)} }
++if (!defined (&convert_length)) { sub convert_length {&convert_length_table(@_)} }
+
+ # Translates LaTeX column specifications to HTML. Again, Netscape
+ # needs some extra work with its width attributes in the <td> tags.