* [gentoo-commits] gentoo-x86 commit in dev-tex/latex2html/files: latex2html-convert-length.patch latex2html-destdir.patch
@ 2008-10-31 22:02 99% Alexis Ballier (aballier)
0 siblings, 0 replies; 1+ results
From: Alexis Ballier (aballier) @ 2008-10-31 22:02 UTC (permalink / raw
To: gentoo-commits
aballier 08/10/31 22:02:46
Modified: latex2html-convert-length.patch
Added: latex2html-destdir.patch
Log:
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.
(Portage version: 2.2_rc12/cvs/Linux 2.6.27.4 x86_64)
Revision Changes Path
1.2 dev-tex/latex2html/files/latex2html-convert-length.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/latex2html/files/latex2html-convert-length.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/latex2html/files/latex2html-convert-length.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/latex2html/files/latex2html-convert-length.patch?r1=1.1&r2=1.2
Index: latex2html-convert-length.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-tex/latex2html/files/latex2html-convert-length.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- latex2html-convert-length.patch 21 Feb 2006 18:49:41 -0000 1.1
+++ latex2html-convert-length.patch 31 Oct 2008 22:02:46 -0000 1.2
@@ -5,7 +5,7 @@
}
# 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(@_)} }
++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.
@@ -16,7 +16,7 @@
}
# 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(@_)} }
++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.
1.1 dev-tex/latex2html/files/latex2html-destdir.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/latex2html/files/latex2html-destdir.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/latex2html/files/latex2html-destdir.patch?rev=1.1&content-type=text/plain
Index: latex2html-destdir.patch
===================================================================
Index: latex2html-2008/config/install.pl
===================================================================
--- latex2html-2008.orig/config/install.pl
+++ latex2html-2008/config/install.pl
@@ -372,7 +372,9 @@ foreach $item (sort keys %Install_items)
if($cfg{TEXPATH}) {
print "\nNote: trying to install LaTeX2HTML style files in TeX directory tree\n ($cfg{TEXPATH})\n";
- unless(mkpath($cfg{TEXPATH})) {
+ my $destdir = $cfg{TEXPATH};
+ $destdir = $ENV{'DESTDIR'}.$destdir if($ENV{'DESTDIR'});
+ unless(mkpath($destdir)) {
#my $testpath = $cfg{TEXPATH}; # to strip (latex2)html
#$testpath =~ s/[$dd$dd][^$dd$dd]*$//;
#if((-d $cfg{TEXPATH} && !-w _) || (-d $testpath && !-w _)) {
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2008-10-31 22:02 99% [gentoo-commits] gentoo-x86 commit in dev-tex/latex2html/files: latex2html-convert-length.patch latex2html-destdir.patch Alexis Ballier (aballier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox