~ubuntu-branches/ubuntu/wily/luatex/wily

« back to all changes in this revision

Viewing changes to source/libs/xpdf/xpdf-3.02-PATCHES/patch-22-exclude-openTempFile

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2010-04-29 00:47:19 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100429004719-o42etkqe90n97b9e
Tags: 0.60.1-1
* new upstream release, adapt build-script patch
* disable patch: upstream-epstopdf_cc_no_xpdf_patching, included upstream
* disable patch: libpoppler-0.12, not needed anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
        Patches for pdfTeX / luaTeX / XeTeX
 
2
 
 
3
        from:
 
4
                Han The Thanh <thanh@pdftex.org>
 
5
 
 
6
diff -ur -N xpdf-3.02.orig/goo/gfile.cc xpdf-3.02/goo/gfile.cc
 
7
--- xpdf-3.02.orig/goo/gfile.cc 2009-03-05 23:36:46.000000000 +0100
 
8
+++ xpdf-3.02/goo/gfile.cc      2009-05-08 21:14:18.000000000 +0200
 
9
@@ -443,6 +443,7 @@
 
10
 #endif
 
11
 }
 
12
 
 
13
+#ifndef PDF_PARSER_ONLY
 
14
 GBool openTempFile(GString **name, FILE **f, char *mode, char *ext) {
 
15
 #if defined(WIN32)
 
16
   //---------- Win32 ----------
 
17
@@ -551,6 +552,7 @@
 
18
   return gTrue;
 
19
 #endif
 
20
 }
 
21
+#endif
 
22
 
 
23
 GBool executeCommand(char *cmd) {
 
24
 #ifdef VMS