diff options
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-1.3-PATCHES/patch-01-cpp')
-rw-r--r-- | Build/source/texk/dvisvgm/dvisvgm-1.3-PATCHES/patch-01-cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.3-PATCHES/patch-01-cpp b/Build/source/texk/dvisvgm/dvisvgm-1.3-PATCHES/patch-01-cpp new file mode 100644 index 00000000000..2472d5cfaa0 --- /dev/null +++ b/Build/source/texk/dvisvgm/dvisvgm-1.3-PATCHES/patch-01-cpp @@ -0,0 +1,26 @@ +diff -ur dvisvgm-1.3.orig/src/FileFinder.cpp dvisvgm-1.3/src/FileFinder.cpp +--- dvisvgm-1.3.orig/src/FileFinder.cpp 2013-05-13 13:15:57.000000000 +0200 ++++ dvisvgm-1.3/src/FileFinder.cpp 2013-06-16 18:31:08.000000000 +0200 +@@ -27,21 +27,12 @@ + #include "FontMap.h" + #include "Message.h" + +-using namespace std; +- + #ifdef MIKTEX + #include "MessageException.h" + #include "MiKTeXCom.h" + static MiKTeXCom *miktex=0; + #else +- // unfortunately, the kpathsea headers are not C++-ready, +- // so we have to wrap it with some ugly code +- namespace KPS { +- extern "C" { +- #include <kpathsea/kpathsea.h> +- } +- } +- using namespace KPS; ++ #include <kpathsea/kpathsea.h> + #endif + + // --------------------------------------------------- |