[packages/latex2html] - fix temporary directory misdetection - rel 2

baggins baggins at pld-linux.org
Wed Dec 4 08:58:07 CET 2013


commit e1a2307ba2ac2f312bb40f9a21f4f7844ffd4fe9
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Dec 4 08:57:51 2013 +0100

    - fix temporary directory misdetection
    - rel 2

 latex2html-tmp.patch | 11 +++++++++++
 latex2html.spec      |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/latex2html.spec b/latex2html.spec
index 4c94b40..28bc831 100644
--- a/latex2html.spec
+++ b/latex2html.spec
@@ -10,7 +10,7 @@ Summary:	LaTeX to HTML translator
 Summary(pl.UTF-8):	Konwerter z LaTeXa do HTML
 Name:		latex2html
 Version:	2008
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications/Publishing/TeX
 Source0:	http://www.latex2html.org/~latex2ht/current/%{name}-%{version}.tar.gz
diff --git a/latex2html-tmp.patch b/latex2html-tmp.patch
index 2059127..4847640 100644
--- a/latex2html-tmp.patch
+++ b/latex2html-tmp.patch
@@ -40,3 +40,14 @@ diff -urN latex2html-99.2alpha12.orig/config/config.pl latex2html-99.2alpha12/co
  
  # --------------------------------------------------------------------------
  # Hashbang script starts
+--- latex2html-2008/config/config.pl~	2013-12-04 08:56:32.000000000 +0100
++++ latex2html-2008/config/config.pl	2013-12-04 08:57:19.314864264 +0100
+@@ -1795,8 +1795,6 @@
+ my @tmp = ();
+ push(@tmp,$cfg{'TMPSPACE'}) if($cfg{'TMPSPACE'});
+ push(@tmp,$prefs{'TMPSPACE'}) if($prefs{'TMPSPACE'});
+-push(@tmp,$ENV{'TMP'}) if($ENV{'TMP'});
+-push(@tmp,$ENV{'TEMP'}) if($ENV{'TEMP'});
+ if($newcfg{'plat'} =~ /dos|win32/i) {
+   push(@tmp,qw(C:\\TMP C:\\TEMP C:\\WINDOWS\\TEMP C:\\WINNT\\TEMP));
+ }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/latex2html.git/commitdiff/e1a2307ba2ac2f312bb40f9a21f4f7844ffd4fe9



More information about the pld-cvs-commit mailing list