1 |
aballier 08/10/31 22:02:46 |
2 |
|
3 |
Modified: latex2html-convert-length.patch |
4 |
Added: latex2html-destdir.patch |
5 |
Log: |
6 |
Version bump. Remove files already provided by our latex installs, bug #240980. Install latex files to texmf-site. Apply patch from bug #143831 to avoid using obsolete functions. |
7 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.27.4 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 dev-tex/latex2html/files/latex2html-convert-length.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/latex2html/files/latex2html-convert-length.patch?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/latex2html/files/latex2html-convert-length.patch?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/latex2html/files/latex2html-convert-length.patch?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: latex2html-convert-length.patch |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-tex/latex2html/files/latex2html-convert-length.patch,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- latex2html-convert-length.patch 21 Feb 2006 18:49:41 -0000 1.1 |
23 |
+++ latex2html-convert-length.patch 31 Oct 2008 22:02:46 -0000 1.2 |
24 |
@@ -5,7 +5,7 @@ |
25 |
} |
26 |
# should no longer be needed, as this is defined in latex2html.pin |
27 |
-if (undefined &convert_length) { sub convert_length {&convert_length_table(@_)} } |
28 |
-+if (undefined (&convert_length)) { sub convert_length {&convert_length_table(@_)} } |
29 |
++if (!defined (&convert_length)) { sub convert_length {&convert_length_table(@_)} } |
30 |
|
31 |
# Translates LaTeX column specifications to HTML. Again, Netscape |
32 |
# needs some extra work with its width attributes in the <td> tags. |
33 |
@@ -16,7 +16,7 @@ |
34 |
} |
35 |
# should no longer be needed, as this is defined in latex2html.pin |
36 |
-if (undefined &convert_length) { sub convert_length {&convert_length_table(@_)} } |
37 |
-+if (undefined (&convert_length)) { sub convert_length {&convert_length_table(@_)} } |
38 |
++if (!defined (&convert_length)) { sub convert_length {&convert_length_table(@_)} } |
39 |
|
40 |
# Translates LaTeX column specifications to HTML. Again, Netscape |
41 |
# needs some extra work with its width attributes in the <td> tags. |
42 |
|
43 |
|
44 |
|
45 |
1.1 dev-tex/latex2html/files/latex2html-destdir.patch |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/latex2html/files/latex2html-destdir.patch?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/latex2html/files/latex2html-destdir.patch?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: latex2html-destdir.patch |
51 |
=================================================================== |
52 |
Index: latex2html-2008/config/install.pl |
53 |
=================================================================== |
54 |
--- latex2html-2008.orig/config/install.pl |
55 |
+++ latex2html-2008/config/install.pl |
56 |
@@ -372,7 +372,9 @@ foreach $item (sort keys %Install_items) |
57 |
|
58 |
if($cfg{TEXPATH}) { |
59 |
print "\nNote: trying to install LaTeX2HTML style files in TeX directory tree\n ($cfg{TEXPATH})\n"; |
60 |
- unless(mkpath($cfg{TEXPATH})) { |
61 |
+ my $destdir = $cfg{TEXPATH}; |
62 |
+ $destdir = $ENV{'DESTDIR'}.$destdir if($ENV{'DESTDIR'}); |
63 |
+ unless(mkpath($destdir)) { |
64 |
#my $testpath = $cfg{TEXPATH}; # to strip (latex2)html |
65 |
#$testpath =~ s/[$dd$dd][^$dd$dd]*$//; |
66 |
#if((-d $cfg{TEXPATH} && !-w _) || (-d $testpath && !-w _)) { |