~ubuntu-branches/ubuntu/natty/luatex/natty

« back to all changes in this revision

Viewing changes to debian/patches/texdoclua-fix

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2009-12-25 09:47:05 UTC
  • mfrom: (1.1.9 upstream) (4.2.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091225094705-y33rpflo8t4u9nag
Tags: 0.50.0-1
* new upstream release
* disable fix-hurd-ftbfs patch, included upstream
* disable upstram-fixes, included upstream
* disable ubuntu_libpoppler-0.11, not needed anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Patch texdoclua becasue lfs.tmpname creates a file already so that
2
 
texdoclua breaks
3
 
---
4
 
 debian/texdoclua |    9 +--------
5
 
 1 file changed, 1 insertion(+), 8 deletions(-)
6
 
 
7
 
Index: luatex-0.20.0/debian/texdoclua
8
 
===================================================================
9
 
--- luatex-0.20.0.orig/debian/texdoclua 2007-12-05 15:13:44.000000000 +0100
10
 
+++ luatex-0.20.0/debian/texdoclua      2007-12-05 15:17:43.000000000 +0100
11
 
@@ -299,14 +299,7 @@
12
 
                  -- than once (dvi besides ps or so)
13
 
                  -- TODO: to be done
14
 
 
15
 
-                 tmpdir = os.tmpname();
16
 
-                 is_ok_tmpdir,error_string = lfs.mkdir(tmpdir)
17
 
-                 if is_ok_tmpdir then
18
 
-                    --                   needs_cleanup = true;
19
 
-                 else
20
 
-                    print(error_string);
21
 
-                    os.exit(1);
22
 
-                 end
23
 
+                 tmpdir = os.tmpdir("/tmp/texdoc.XXXXXX");
24
 
                  
25
 
                  unzip_commandline = unzip_command .. filename .. " > " .. tmpdir .. "/" .. basename;
26
 
                  if os.execute(unzip_commandline) then