diff options
Diffstat (limited to 'print/ghostscript8/files')
-rw-r--r-- | print/ghostscript8/files/patch-aa | 34 | ||||
-rw-r--r-- | print/ghostscript8/files/patch-ab | 11 | ||||
-rw-r--r-- | print/ghostscript8/files/patch-ac | 1 | ||||
-rw-r--r-- | print/ghostscript8/files/patch-ad | 15 | ||||
-rw-r--r-- | print/ghostscript8/files/patch-lib,gs_init.ps | 31 |
5 files changed, 48 insertions, 44 deletions
diff --git a/print/ghostscript8/files/patch-aa b/print/ghostscript8/files/patch-aa index 9330d7f9c504..18f6f663cabf 100644 --- a/print/ghostscript8/files/patch-aa +++ b/print/ghostscript8/files/patch-aa @@ -1,5 +1,5 @@ ---- src/unix-gcc.mak Fri Mar 17 23:13:40 2000 -+++ src/unix-gcc.mak Wed Jul 19 10:23:42 2000 +--- src/unix-gcc.mak.orig Mon Sep 25 17:06:28 2000 ++++ src/unix-gcc.mak Tue Jan 9 17:30:58 2001 @@ -26,14 +26,15 @@ # source, generated intermediate file, and object directories # for the graphics library (GL) and the PostScript/PDF interpreter (PS). @@ -48,13 +48,13 @@ JVERSION=6 # Choose whether to use a shared version of the IJG JPEG library (-ljpeg). -@@ -146,14 +147,14 @@ +@@ -148,14 +148,14 @@ # You may need to change this if the libpng version changes. # See libpng.mak for more information. -PSRCDIR=libpng +PSRCDIR=${LOCALBASE}/include - PVERSION=10005 + PVERSION=10008 # Choose whether to use a shared version of the PNG library, and if so, # what its name is. @@ -65,7 +65,7 @@ LIBPNG_NAME=png # Define the directory where the zlib sources are stored. -@@ -165,7 +165,7 @@ +@@ -167,7 +167,7 @@ # what its name is (usually libz, but sometimes libgz). # See gs.mak and Make.htm for more information. @@ -74,7 +74,7 @@ #ZLIB_NAME=gz ZLIB_NAME=z -@@ -180,7 +180,7 @@ +@@ -182,7 +182,7 @@ # Define the name of the C compiler. @@ -83,7 +83,7 @@ # Define the name of the linker for the final link step. # Normally this is the same as the C compiler. -@@ -213,7 +213,7 @@ +@@ -215,7 +215,7 @@ # gcc to accept ANSI-style function prototypes and function definitions. XCFLAGS= @@ -92,7 +92,7 @@ # Define platform flags for ld. # SunOS 4.n may need -Bstatic. -@@ -222,7 +222,7 @@ +@@ -224,7 +224,7 @@ # -R /usr/local/xxx/lib:/usr/local/lib # giving the full path names of the shared library directories. # XLDFLAGS can be set from the command line. @@ -101,7 +101,7 @@ LDFLAGS=$(XLDFLAGS) -fno-common -@@ -242,7 +242,7 @@ +@@ -244,7 +244,7 @@ # All reasonable platforms require -lm, but Rhapsody and perhaps one or # two others fold libm into libc and don't require any additional library. @@ -110,7 +110,7 @@ # Define the include switch(es) for the X11 header files. # This can be null if handled in some other way (e.g., the files are -@@ -252,7 +252,7 @@ +@@ -254,7 +254,7 @@ # Note that x_.h expects to find the header files in $(XINCLUDE)/X11, # not in $(XINCLUDE). @@ -119,7 +119,7 @@ # Define the directory/ies and library names for the X11 library files. # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH -@@ -264,12 +264,12 @@ +@@ -266,12 +266,12 @@ # Solaris and other SVR4 systems with dynamic linking probably want #XLIBDIRS=-L/usr/openwin/lib -R/usr/openwin/lib # X11R6 (on any platform) may need @@ -135,7 +135,7 @@ # Define whether this platform has floating point hardware: # FPU_TYPE=2 means floating point is faster than fixed point. -@@ -327,7 +327,7 @@ +@@ -329,7 +329,7 @@ # Choose the device(s) to include. See devs.mak for details, # devs.mak and contrib.mak for the list of available devices. @@ -144,9 +144,9 @@ #DEVICE_DEVS1= #DEVICE_DEVS2= -@@ -345,27 +345,27 @@ - #DEVICE_DEVS14= - #DEVICE_DEVS15= +@@ -352,27 +352,27 @@ + #DEVICE_DEVS19= + #DEVICE_DEVS20= -DEVICE_DEVS1=$(DD)bmpmono.dev $(DD)bmpgray.dev $(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)bmp16.dev $(DD)bmp256.dev $(DD)bmp16m.dev $(DD)bmp32b.dev -DEVICE_DEVS2=$(DD)bmpamono.dev $(DD)bmpasep1.dev $(DD)bmpasep8.dev $(DD)bmpa16.dev $(DD)bmpa256.dev $(DD)bmpa16m.dev $(DD)bmpa32b.dev @@ -193,7 +193,7 @@ # ---------------------------- End of options --------------------------- # -@@ -379,13 +379,13 @@ +@@ -386,13 +386,13 @@ # detect whether we're running a version of gcc with the const optimization # bug. @@ -210,7 +210,7 @@ CC_LEAF=$(CC_) -fomit-frame-pointer # gcc can't use -fomit-frame-pointer with -pg. CC_LEAF_PG=$(CC_) -@@ -412,5 +412,5 @@ +@@ -419,5 +419,5 @@ include $(GLSRCDIR)/unixinst.mak # This has to come last so it won't be taken as the default target. diff --git a/print/ghostscript8/files/patch-ab b/print/ghostscript8/files/patch-ab deleted file mode 100644 index bb2d26d40db7..000000000000 --- a/print/ghostscript8/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- src/contrib.mak.orig Sat Mar 25 21:15:07 2000 -+++ src/contrib.mak Sat Mar 25 21:15:58 2000 -@@ -343,7 +343,7 @@ - $(SETPDEV) $(DD)coslw2p $(coslw_) - - $(DD)coslwxl.dev : $(coslw_) $(DD)page.dev -- $(SETPDEV) ($DD)coslwxl $(coslw_) -+ $(SETPDEV) $(DD)coslwxl $(coslw_) - - $(GLOBJ)gdevcslw.$(OBJ) : $(GLSRC)gdevcslw.c $(PDEVH) - $(GLCC) $(GLO_)gdevcslw.$(OBJ) $(C_) $(GLSRC)gdevcslw.c diff --git a/print/ghostscript8/files/patch-ac b/print/ghostscript8/files/patch-ac index 319922485be0..148e0e556d33 100644 --- a/print/ghostscript8/files/patch-ac +++ b/print/ghostscript8/files/patch-ac @@ -84,4 +84,3 @@ ghostscript code anymore. - } - define_int(f, "ARCH_CACHE2_SIZE", bsize >> 1); - } - diff --git a/print/ghostscript8/files/patch-ad b/print/ghostscript8/files/patch-ad deleted file mode 100644 index 943abecaa755..000000000000 --- a/print/ghostscript8/files/patch-ad +++ /dev/null @@ -1,15 +0,0 @@ -This patch replaces the use of the dangerous mktemp/fopen combo -with the safe mkstemp/fdopen. - - -mi - ---- src/gp_unifs.c Thu Mar 9 03:40:41 2000 -+++ src/gp_unifs.c Wed Jul 19 09:56:42 2000 -@@ -71,4 +71,5 @@ - strcat(fname, "XXXXXX"); -- mktemp(fname); -- return fopen(fname, mode); -+ len = mkstemp(fname); /* reuse the no longer needed variable */ -+ if (len == -1) return NULL; -+ return fdopen(len, mode); - } diff --git a/print/ghostscript8/files/patch-lib,gs_init.ps b/print/ghostscript8/files/patch-lib,gs_init.ps new file mode 100644 index 000000000000..a2f5d54ee5b7 --- /dev/null +++ b/print/ghostscript8/files/patch-lib,gs_init.ps @@ -0,0 +1,31 @@ + File: @(#)$Id: README,v 2.6 2000/11/09 18:33:58 Martin Beta $ + Contents: README file for the pcl3 distribution + Author: Martin Lottermoser, Greifswaldstrasse 28, 38124 Braunschweig, + Germany. E-mail: Martin.Lottermoser@t-online.de. +[...] + 8. There is also a bug in ghostscript's default configuration for the + undercolour removal and black generation functions. It shows up when + printing PostScript documents using the RGB colour space ("setrgbcolor" or + "sethsbcolor") on a device where the CMYK space is the native colour space; + this is the case for pcl3 if you specify "-sColourModel=CMYK". The bug + results in black being printed as a mixture of cyan, magenta, and yellow. + On my printer, this is a slightly greenish grey with fuzzy edges. My + subjective impression is that correcting this bug leads to sharper-looking + images. +[...] + +I generated a patch as suggested from Martin Lottermoser + + -andreas + +--- lib/gs_init.ps.orig Mon Jan 8 20:47:39 2001 ++++ lib/gs_init.ps Mon Jan 8 20:49:02 2001 +@@ -1229,7 +1229,7 @@ + % Set the default screen and BG/UCR. + /.setdefaultbgucr { + systemdict /setblackgeneration known { +- { pop 0 } dup setblackgeneration setundercolorremoval ++ {} dup setblackgeneration setundercolorremoval + } if + } bind def + /.useloresscreen { % - .useloresscreen <bool> |