SOURCES: latex2html-extract-major-version.patch (NEW), latex2html-...

arekm arekm at pld-linux.org
Tue Jan 2 18:32:04 CET 2007


Author: arekm                        Date: Tue Jan  2 17:32:03 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new

---- Files affected:
SOURCES:
   latex2html-extract-major-version.patch (NONE -> 1.1)  (NEW), latex2html-convert-length.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/latex2html-extract-major-version.patch
diff -u /dev/null SOURCES/latex2html-extract-major-version.patch:1.1
--- /dev/null	Tue Jan  2 18:32:03 2007
+++ SOURCES/latex2html-extract-major-version.patch	Tue Jan  2 18:31:58 2007
@@ -0,0 +1,12 @@
+diff -urN latex2html-2002-2-1.orig/config/config.pl latex2html-2002-2-1/config/config.pl
+--- latex2html-2002-2-1.orig/config/config.pl	2006-06-02 20:41:18.000000000 +0200
++++ latex2html-2002-2-1/config/config.pl	2006-06-02 20:42:07.000000000 +0200
+@@ -1275,7 +1275,7 @@
+     ($stat,$msg,$err) = &get_out_err("$pnmcrop -version");
+     my $vers = '';
+     $msg = $msg || $err;
+-    if ($msg =~ /(^|\s*)Version.*\s([\d\.]+)\s*([\n\r]|$)/is) { $vers = $2; }
++    if ($msg =~ /(^|\s*)Version.*\s(\d+)\..*\s*([\n\r]|$)/is) { $vers = $2; }
+     if ($vers =~ /^199/) {
+ 	# try left crop
+ 	&checking('if pnmcrop can crop from one direction');

================================================================
Index: SOURCES/latex2html-convert-length.patch
diff -u /dev/null SOURCES/latex2html-convert-length.patch:1.1
--- /dev/null	Tue Jan  2 18:32:03 2007
+++ SOURCES/latex2html-convert-length.patch	Tue Jan  2 18:31:58 2007
@@ -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 (undefined (&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 (undefined (&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.
================================================================


More information about the pld-cvs-commit mailing list