diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-16 17:35:09 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-16 17:35:09 +0000 |
commit | c784cd6b59fd4252ab6f45258eeb80fe7e0b7ef6 (patch) | |
tree | b1e0b2910db28bc772bfd6c16a0e37ff8562416e /Build/source | |
parent | e967e0cc978d647040ac5616d389e9007d593464 (diff) |
new kpathsea API: temporary fix for texk/xdv2pdf
git-svn-id: svn://tug.org/texlive/trunk@12402 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/xdv2pdf/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/xdv2pdf/xdv2pdf.cpp | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/Build/source/texk/xdv2pdf/ChangeLog b/Build/source/texk/xdv2pdf/ChangeLog index e5f4d01c1a0..edcca55dcf1 100644 --- a/Build/source/texk/xdv2pdf/ChangeLog +++ b/Build/source/texk/xdv2pdf/ChangeLog @@ -1,3 +1,9 @@ +2009-03-16 Peter Breitenlohner <peb@mppmu.mpg.de> + + * xdv2pdf.cpp: As a temporary fix, disable the '-d' option. + Really need to include <kpathsea/debug.h> and somehow deal + with the UInt8 <-> char conversion. + 2008-02-29 Peter Breitenlohner <peb@mppmu.mpg.de> The Makefile.in uses `kpse_include ../make/config.mk'; thus diff --git a/Build/source/texk/xdv2pdf/xdv2pdf.cpp b/Build/source/texk/xdv2pdf/xdv2pdf.cpp index ced732fc740..8353f2c4fc8 100644 --- a/Build/source/texk/xdv2pdf/xdv2pdf.cpp +++ b/Build/source/texk/xdv2pdf/xdv2pdf.cpp @@ -934,7 +934,7 @@ extern "C" { UInt8* kpse_find_file(const UInt8* name, int type, int must_exist); UInt8* uppercasify(const UInt8* s); }; -extern unsigned kpathsea_debug; +//extern unsigned kpathsea_debug; #include "xdv_kpse_formats.h" @@ -2270,7 +2270,10 @@ xdv2pdf(int argc, char** argv) break; case 'd': + { + unsigned int kpathsea_debug; kpathsea_debug |= atoi(optarg); + } break; case 'v': |