diff options
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-1.7-PATCHES/patch-01-cygwin')
-rw-r--r-- | Build/source/texk/dvisvgm/dvisvgm-1.7-PATCHES/patch-01-cygwin | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.7-PATCHES/patch-01-cygwin b/Build/source/texk/dvisvgm/dvisvgm-1.7-PATCHES/patch-01-cygwin new file mode 100644 index 00000000000..47f5f74531a --- /dev/null +++ b/Build/source/texk/dvisvgm/dvisvgm-1.7-PATCHES/patch-01-cygwin @@ -0,0 +1,15 @@ +diff -ur dvisvgm-1.7.orig/src/Ghostscript.cpp dvisvgm-1.7/src/Ghostscript.cpp +--- dvisvgm-1.7.orig/src/Ghostscript.cpp 2014-06-10 15:05:24.000000000 +0200 ++++ dvisvgm-1.7/src/Ghostscript.cpp 2014-06-25 11:45:36.000000000 +0200 +@@ -63,7 +63,11 @@ + const int abi_min=7, abi_max=9; // supported libgs ABI versions + for (int i=abi_max; i >= abi_min; i--) { + ostringstream oss; ++#if defined(__CYGWIN__) ++ oss << "cyggs-" << i << ".dll"; ++#else + oss << "libgs.so." << i; ++#endif + DLLoader loader(oss.str().c_str()); + if (loader.loaded()) + return oss.str(); |