annotate src/mingw-ghostscript-1-win.patch @ 3793:50f11d938045

ghostscript: simplify patches * src/mingw-ghostscript-1-win.patch: change patch to just define the binary character when mingw. * src/gnu-linux-ghostscript-configure.patch: removed old patch file. * dist-files.mk: remove ref to src/gnu-linux-ghostscript-configure.patch.
author John Donoghue
date Mon, 16 Feb 2015 09:01:11 -0500
parents 1a2fec9962a7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3793
50f11d938045 ghostscript: simplify patches
John Donoghue
parents: 3792
diff changeset
1 diff -ur ghostscript-9.15.orig/base/gp_unifn.c ghostscript-9.15/base/gp_unifn.c
50f11d938045 ghostscript: simplify patches
John Donoghue
parents: 3792
diff changeset
2 --- ghostscript-9.15.orig/base/gp_unifn.c 2015-02-16 07:47:31.050998971 -0500
50f11d938045 ghostscript: simplify patches
John Donoghue
parents: 3792
diff changeset
3 +++ ghostscript-9.15/base/gp_unifn.c 2015-02-16 07:48:50.582467223 -0500
50f11d938045 ghostscript: simplify patches
John Donoghue
parents: 3792
diff changeset
4 @@ -25,7 +25,11 @@
50f11d938045 ghostscript: simplify patches
John Donoghue
parents: 3792
diff changeset
5
50f11d938045 ghostscript: simplify patches
John Donoghue
parents: 3792
diff changeset
6 /* Define the string to be concatenated with the file mode */
50f11d938045 ghostscript: simplify patches
John Donoghue
parents: 3792
diff changeset
7 /* for opening files without end-of-line conversion. */
50f11d938045 ghostscript: simplify patches
John Donoghue
parents: 3792
diff changeset
8 +#if (defined(__MINGW32__) && __MINGW32__ == 1) || (defined(__CYGWIN__) && __CYGWIN__ == 1)
50f11d938045 ghostscript: simplify patches
John Donoghue
parents: 3792
diff changeset
9 +const char gp_fmode_binary_suffix[] = "b";
50f11d938045 ghostscript: simplify patches
John Donoghue
parents: 3792
diff changeset
10 +#else
50f11d938045 ghostscript: simplify patches
John Donoghue
parents: 3792
diff changeset
11 const char gp_fmode_binary_suffix[] = "";
3792
1a2fec9962a7 ghostscript: update to 9.15
John Donoghue
parents:
diff changeset
12 +#endif
1a2fec9962a7 ghostscript: update to 9.15
John Donoghue
parents:
diff changeset
13
3793
50f11d938045 ghostscript: simplify patches
John Donoghue
parents: 3792
diff changeset
14 /* Define the file modes for binary reading or writing. */
50f11d938045 ghostscript: simplify patches
John Donoghue
parents: 3792
diff changeset
15 #if (defined(__MINGW32__) && __MINGW32__ == 1) || (defined(__CYGWIN__) && __CYGWIN__ == 1)