blob: 0107043ab5cac3f5600b2d8e826c41bfb206ae86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
diff -ur dvipng-1.14.orig/dvipng.c dvipng-1.14/dvipng.c
--- dvipng-1.14.orig/dvipng.c 2008-02-08 14:45:25.000000000 +0100
+++ dvipng-1.14/dvipng.c 2011-08-03 13:34:44.000000000 +0200
@@ -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 dvipng-1.14.orig/special.c dvipng-1.14/special.c
--- dvipng-1.14.orig/special.c 2011-02-07 11:47:08.000000000 +0100
+++ dvipng-1.14/special.c 2012-08-25 21:36:09.000000000 +0200
@@ -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
|