diff options
Diffstat (limited to 'Build/source/texk/dvipng/TLpatches/patch-06-WIN32')
-rw-r--r-- | Build/source/texk/dvipng/TLpatches/patch-06-WIN32 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Build/source/texk/dvipng/TLpatches/patch-06-WIN32 b/Build/source/texk/dvipng/TLpatches/patch-06-WIN32 new file mode 100644 index 00000000000..252b15abee5 --- /dev/null +++ b/Build/source/texk/dvipng/TLpatches/patch-06-WIN32 @@ -0,0 +1,30 @@ +diff -ur dvipng-1.15.orig/dvipng.c dvipng-1.15/dvipng.c +--- dvipng-1.15.orig/dvipng.c 2015-03-02 20:33:56.000000000 +0100 ++++ dvipng-1.15/dvipng.c 2015-03-03 13:04:09.000000000 +0100 +@@ -79,6 +79,10 @@ + kpse_set_program_enabled (kpse_pk_format, makeTexPK, kpse_src_compile); + #endif + ++#ifdef WIN32 ++ texlive_gs_init (); ++#endif ++ + initcolor(); + parsestdin = DecodeArgs(argc, argv); + +diff -ur -x COPYING.gd dvipng-1.15.orig/special.c dvipng-1.15/special.c +--- dvipng-1.15.orig/special.c 2015-03-03 12:51:18.000000000 +0100 ++++ dvipng-1.15/special.c 2015-03-03 13:04:09.000000000 +0100 +@@ -28,11 +28,8 @@ + #ifndef WIN32 + #include <sys/wait.h> + #else /* WIN32 */ +-#include <fcntl.h> +-#include <io.h> +-#include <process.h> ++#undef pipe + #define pipe(p) _pipe(p, 65536, O_BINARY | _O_NOINHERIT) +-#define snprintf _snprintf + #endif /* WIN32 */ + #endif + |