diff options
Diffstat (limited to 'Build/source/texk')
3 files changed, 17 insertions, 0 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.9-PATCHES/ChangeLog b/Build/source/texk/dvisvgm/dvisvgm-1.9-PATCHES/ChangeLog index 2b92f5c3590..a5225a32a2a 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-1.9-PATCHES/ChangeLog +++ b/Build/source/texk/dvisvgm/dvisvgm-1.9-PATCHES/ChangeLog @@ -1,6 +1,7 @@ 2015-01-07 Peter Breitenlohner <peb@mppmu.mpg.de> * Import release 1.9. + * patch-01-mingw32 (new): MinGW32 may not define RRF_RT_REG_SZ. 2014-09-15 Peter Breitenlohner <peb@mppmu.mpg.de> diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.9-PATCHES/patch-01-mingw32 b/Build/source/texk/dvisvgm/dvisvgm-1.9-PATCHES/patch-01-mingw32 new file mode 100644 index 00000000000..1f2243a855d --- /dev/null +++ b/Build/source/texk/dvisvgm/dvisvgm-1.9-PATCHES/patch-01-mingw32 @@ -0,0 +1,13 @@ +diff -ur dvisvgm-1.9.orig/src/Ghostscript.cpp dvisvgm-1.9/src/Ghostscript.cpp +--- dvisvgm-1.9.orig/src/Ghostscript.cpp 2014-10-09 16:20:18.000000000 +0200 ++++ dvisvgm-1.9/src/Ghostscript.cpp 2015-01-07 12:53:17.108466555 +0100 +@@ -41,6 +41,9 @@ + #ifdef __WIN32__ + /** Looks up the path of the Ghostscript DLL in the Windows registry and returns it. + * If there is no proper registry entry, the returned string is empty. */ ++#if !defined(RRF_RT_REG_SZ) ++#define RRF_RT_REG_SZ 0x00000002 ++#endif + static string get_path_from_registry () { + REGSAM mode = KEY_READ|KEY_QUERY_VALUE; + #ifdef KEY_WOW64_64KEY diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.9/src/Ghostscript.cpp b/Build/source/texk/dvisvgm/dvisvgm-1.9/src/Ghostscript.cpp index 0576769dbf8..72aff92f384 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-1.9/src/Ghostscript.cpp +++ b/Build/source/texk/dvisvgm/dvisvgm-1.9/src/Ghostscript.cpp @@ -41,6 +41,9 @@ string Ghostscript::LIBGS_NAME; #ifdef __WIN32__ /** Looks up the path of the Ghostscript DLL in the Windows registry and returns it. * If there is no proper registry entry, the returned string is empty. */ +#if !defined(RRF_RT_REG_SZ) +#define RRF_RT_REG_SZ 0x00000002 +#endif static string get_path_from_registry () { REGSAM mode = KEY_READ|KEY_QUERY_VALUE; #ifdef KEY_WOW64_64KEY |