diff options
Diffstat (limited to 'Build/source/utils/ps2eps/ps2eps-1.68-PATCHES/patch-02-WIN32-bug')
-rw-r--r-- | Build/source/utils/ps2eps/ps2eps-1.68-PATCHES/patch-02-WIN32-bug | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Build/source/utils/ps2eps/ps2eps-1.68-PATCHES/patch-02-WIN32-bug b/Build/source/utils/ps2eps/ps2eps-1.68-PATCHES/patch-02-WIN32-bug new file mode 100644 index 00000000000..febf91d94ac --- /dev/null +++ b/Build/source/utils/ps2eps/ps2eps-1.68-PATCHES/patch-02-WIN32-bug @@ -0,0 +1,12 @@ +diff -ur ps2eps-1.68.orig/src/C/bbox.c ps2eps-1.68/src/C/bbox.c +--- ps2eps-1.68.orig/src/C/bbox.c 2010-12-15 13:39:27.000000000 +0100 ++++ ps2eps-1.68/src/C/bbox.c 2010-12-15 13:46:23.000000000 +0100 +@@ -210,7 +210,7 @@ + #if defined(_WIN32) && !defined(__CYGWIN__) /* this is really braindead stuff for MSVC */ + i= _setmode( _fileno(stdin), _O_BINARY); + if (i == -1) +- fprintf(stderr,"%s: ERROR - Cannot set binary mode for STDIN\n"); ++ fprintf(stderr,"%s: ERROR - Cannot set binary mode for STDIN\n", prgname); + #endif + for (y= 0; y<height; y++) /* for every image row 0..height-1 */ + { |