diff options
Diffstat (limited to 'Build/source/texk/dvipng/dvipng-1.13-PATCHES')
5 files changed, 0 insertions, 231 deletions
diff --git a/Build/source/texk/dvipng/dvipng-1.13-PATCHES/ChangeLog b/Build/source/texk/dvipng/dvipng-1.13-PATCHES/ChangeLog deleted file mode 100644 index 11f85b81164..00000000000 --- a/Build/source/texk/dvipng/dvipng-1.13-PATCHES/ChangeLog +++ /dev/null @@ -1,62 +0,0 @@ -2010-10-02 Peter Breitenlohner <peb@mppmu.mpg.de> - - * patch-22-win32-bugfix (new): WIN32 bug fix from Akira Kakuto. - -2010-03-18 Peter Breitenlohner <peb@mppmu.mpg.de> - - * Imported release 1.13 from savannah.nongnu.org. - * patch-[01]?-* (removed): Included in 1.13. - - * patch-20-rpl_malloc (new): Avoid implicit decl of malloc(). - * patch-21-win32 (new): Avoid unnecessary warning in WIN32 code. - -2010-03-09 Peter Breitenlohner <peb@mppmu.mpg.de> - - * patch-12-set_program_name: Replace kpse_set_progname() by - kpse_set_program_name(). - -2010-02-24 Peter Breitenlohner <peb@mppmu.mpg.de> - - * patch-10-mmap-for-WIN32 (new): Former MIKTEX code for mmap - from Fabrice Popineau (?) now used for all WIN32 variants. - * patch-11-win32-fork-and-pipe (new): WIN32 specific replacement - for fork and pipe, using code from Akira Kakuto. - -2010-02-21 Peter Breitenlohner <peb@mppmu.mpg.de> - - * patch-07-always-undef (new): Always undefine min/max before - redefining them (for MinGW32). - * patch-08-HAVE_MMAP (new): #include <sys/mman.h> only - #if defined(HAVE_MMAP) (for MinGW32). - * patch-09-sleep (new): Use Sleep and #include <stdlib.h> - (for WIN32/MinGW32). - -2010-01-29 Karl Berry <karl@tug.org> - - * patch-06-mathptmx (new): Do not use \usepackage{mathptmx} - in test_dvipng.tex. - -2009-06-12 Peter Breitenlohner <peb@mppmu.mpg.de> - - * patch-05-warnings (new): Avoid more compiler warnings. - -2009-06-09 Peter Breitenlohner <peb@mppmu.mpg.de> - - * patch-04-static (new): Avoid warnings when compiling with - 'gcc --Wmissing-prototypes'. - -2009-02-22 Peter Breitenlohner <peb@mppmu.mpg.de> - - * patch-03-have-ft2 (new): Bug fix - skip FT2 code when - compiling without FT2 library. - -2009-03-25 Peter Breitenlohner <peb@mppmu.mpg.de> - - * patch-02-use-ifdef (new): Use #ifdef instead of #if to avoid - preprocessor warnings. - -2009-03-24 Peter Breitenlohner <peb@mppmu.mpg.de> - - * patch-01-portability (new): Portability fix - put variable - declarations at the beginning of the block. - diff --git a/Build/source/texk/dvipng/dvipng-1.13-PATCHES/TL-Changes b/Build/source/texk/dvipng/dvipng-1.13-PATCHES/TL-Changes deleted file mode 100644 index e3f760264a1..00000000000 --- a/Build/source/texk/dvipng/dvipng-1.13-PATCHES/TL-Changes +++ /dev/null @@ -1,17 +0,0 @@ -Changes applied to the dvipng-1.13 tree as obtained from: - http://savannah.nongnu.org/files/?group=dvipng - -Removed: - configure - install-sh - mkinstalldirs - -Created Autoconf macro files ../m4/gs-device.m4 and ../m4/makeinfo.m4 - adapting code in aclocal.m4. - -Moved these files to ../doc/: - dvipng.texi - install.texi - macros.texi - readme.texi - diff --git a/Build/source/texk/dvipng/dvipng-1.13-PATCHES/patch-20-rpl_malloc b/Build/source/texk/dvipng/dvipng-1.13-PATCHES/patch-20-rpl_malloc deleted file mode 100644 index 3f3e2b9cb5b..00000000000 --- a/Build/source/texk/dvipng/dvipng-1.13-PATCHES/patch-20-rpl_malloc +++ /dev/null @@ -1,36 +0,0 @@ - Autoconf may define malloc to rpl_malloc. - - Undefine this before including any system headers to avoid - implicit declaration of malloc(), e.g., for MinGW32. - -diff -ur dvipng-1.13.orig/dvipng.h dvipng-1.13/dvipng.h ---- dvipng-1.13.orig/dvipng.h 2010-03-17 22:41:51.000000000 +0100 -+++ dvipng-1.13/dvipng.h 2010-03-18 12:22:28.897998191 +0100 -@@ -26,6 +26,13 @@ - #define DVIPNG_H - #include "config.h" - -+/* Autoconf may define malloc to rpl_malloc, if the system does not -+ * have a GNU Libc-compatible malloc (for which malloc(0) gives a -+ * valid pointer). We don't need that (yet) */ -+#ifdef malloc -+# undef malloc -+#endif -+ - #define STRSIZE 255 /* stringsize for file specifications */ - - #define FIRSTFNTCHAR 0 -@@ -105,13 +112,6 @@ - # endif - #endif - --/* Autoconf may define malloc to rpl_malloc, if the system does not -- * have a GNU Libc-compatible malloc (for which malloc(0) gives a -- * valid pointer). We don't need that (yet) */ --#ifdef malloc --# undef malloc --#endif -- - - /*************************************************************/ - /************************* protos.h ************************/ diff --git a/Build/source/texk/dvipng/dvipng-1.13-PATCHES/patch-21-win32 b/Build/source/texk/dvipng/dvipng-1.13-PATCHES/patch-21-win32 deleted file mode 100644 index 7596248df4b..00000000000 --- a/Build/source/texk/dvipng/dvipng-1.13-PATCHES/patch-21-win32 +++ /dev/null @@ -1,23 +0,0 @@ - Avoid unnecessary cast from 'int *' to 'unsigned long*'. - -diff -ur dvipng-1.13.orig/special.c dvipng-1.13/special.c ---- dvipng-1.13.orig/special.c 2010-03-17 22:38:35.000000000 +0100 -+++ dvipng-1.13/special.c 2010-03-18 12:32:01.230697171 +0100 -@@ -147,7 +147,7 @@ - #ifndef MIKTEX - int downpipe[2], uppipe[2]; - #ifdef WIN32 -- int nexitcode = STILL_ACTIVE; -+ unsigned long nexitcode = STILL_ACTIVE; - HANDLE hchild; - int savestdin, savestdout; - #else /* !WIN32 */ -@@ -307,7 +307,7 @@ - #ifdef WIN32 - } - while(nexitcode == STILL_ACTIVE) -- GetExitCodeProcess((HANDLE)hchild, (unsigned long*)&nexitcode); -+ GetExitCodeProcess((HANDLE)hchild, &nexitcode); - - CloseHandle((HANDLE)hchild); - _dup2(savestdin, fileno(stdin)); diff --git a/Build/source/texk/dvipng/dvipng-1.13-PATCHES/patch-22-win32-bugfix b/Build/source/texk/dvipng/dvipng-1.13-PATCHES/patch-22-win32-bugfix deleted file mode 100644 index 06e2c6b0b11..00000000000 --- a/Build/source/texk/dvipng/dvipng-1.13-PATCHES/patch-22-win32-bugfix +++ /dev/null @@ -1,93 +0,0 @@ -diff -ur dvipng-1.13.orig/ChangeLog dvipng-1.13/ChangeLog ---- dvipng-1.13.orig/ChangeLog 2010-03-17 22:59:40.000000000 +0100 -+++ dvipng-1.13/ChangeLog 2010-10-02 13:16:12.428050971 +0200 -@@ -1,3 +1,12 @@ -+2010-10-02 Peter Breitenlohner <peb@mppmu.mpg.de> -+ -+ * special.c (ps2png): Drop unused 'bool showpage' for WIN32. -+ -+2010-09-20 Akira Kakuto <kakuto@fuk.kindai.ac.jp> -+ -+ * special.c (ps2png): fix WIN32 bug that dvipng.exe waits -+ infinitely for some kind of eps files. -+ - 2010-03-17 Jan-Ake Larsson <jalar@mai.liu.se> - - * Release 1.13 -diff -ur dvipng-1.13.orig/special.c dvipng-1.13/special.c ---- dvipng-1.13.orig/special.c 2010-03-18 12:32:01.000000000 +0100 -+++ dvipng-1.13/special.c 2010-10-02 13:05:54.952668093 +0200 -@@ -167,7 +167,9 @@ - char resolution[STRSIZE]; - /* char devicesize[STRSIZE]; */ - gdImagePtr psimage=NULL; -+#ifndef WIN32 - static bool showpage=false; -+#endif - - sprintf(resolution, "-r%dx%d",hresolution,vresolution); - /* Future extension for \rotatebox -@@ -290,11 +292,41 @@ - fprintf(psstream, "gsave %f %f %f setrgbcolor clippath fill grestore", - bgred/255.0, bggreen/255.0, bgblue/255.0); - } -+ -+/* WIN32 -+write the following at the top of an eps: -+ -+%! -+/DVIPNGDICT 100 dict def -+DVIPNGDICT begin /showpage {} def end -+DVIPNGDICT begin -+*/ -+ -+#ifdef WIN32 -+ fprintf(psstream, "\n%%!\n/DVIPNGDICT 100 dict def\n"); -+ fprintf(psstream, "DVIPNGDICT begin /showpage {} def end\n"); -+ fprintf(psstream, "DVIPNGDICT begin\n"); -+#endif - writepscode(pscodep,psstream); -+ -+/* WIN32 -+write the following at the very end of an eps: -+ -+end -+showpage -+*/ -+ -+#ifdef WIN32 -+ fprintf(psstream, "\nend\nshowpage\n"); -+#endif -+ -+#ifndef WIN32 - if (showpage) { - DEBUG_PRINT(DEBUG_GS,("\n PS CODE:\tshowpage")); - fprintf(psstream, " showpage "); - } -+#endif -+ - fclose(psstream); - } - if (pngstream) { -@@ -323,6 +355,12 @@ - - if (psimage == NULL) { - DEBUG_PRINT(DEBUG_GS,("\n GS OUTPUT:\tNO IMAGE ")); -+ -+/* -+ For WIN32 we always output showpage. -+*/ -+ -+#ifndef WIN32 - if (!showpage) { - showpage=true; - DEBUG_PRINT(DEBUG_GS,("(will try adding \"showpage\") ")); -@@ -331,6 +369,8 @@ - bgred,bggreen,bgblue); - showpage=false; - } -+#endif -+ - #ifdef DEBUG - } else { - DEBUG_PRINT(DEBUG_GS,("\n GS OUTPUT:\t%dx%d image ", |