summaryrefslogtreecommitdiff
path: root/print/ghostscript-gnu/files
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript-gnu/files')
-rw-r--r--print/ghostscript-gnu/files/patch-aa150
-rw-r--r--print/ghostscript-gnu/files/patch-ab10
-rw-r--r--print/ghostscript-gnu/files/patch-ac21
-rw-r--r--print/ghostscript-gnu/files/patch-ad34
4 files changed, 0 insertions, 215 deletions
diff --git a/print/ghostscript-gnu/files/patch-aa b/print/ghostscript-gnu/files/patch-aa
deleted file mode 100644
index 7aeee26276fe..000000000000
--- a/print/ghostscript-gnu/files/patch-aa
+++ /dev/null
@@ -1,150 +0,0 @@
---- unix-gcc.mak.orig Mon Feb 14 11:28:41 2000
-+++ unix-gcc.mak Sat Jul 29 00:40:45 2000
-@@ -54,12 +54,10 @@
- # the directories also define the default search path for the
- # initialization files (gs_*.ps) and the fonts.
-
--# If your system has installbsd, change install to installbsd in the next line.
--INSTALL = install -c
--INSTALL_PROGRAM = $(INSTALL) -m 755
--INSTALL_DATA = $(INSTALL) -m 644
-+INSTALL_PROGRAM = $(BSD_INSTALL_SCRIPT)
-+INSTALL_DATA = $(BSD_INSTALL_DATA)
-
--prefix = /usr/local
-+prefix = $(PREFIX)
- exec_prefix = $(prefix)
- bindir = $(exec_prefix)/bin
- scriptdir = $(bindir)
-@@ -140,14 +138,14 @@
- # You may need to change this if the libpng version changes.
- # See libpng.mak for more information.
-
--PSRCDIR=libpng
-+PSRCDIR=${LOCALBASE}/include
- PVERSION=96
-
- # Choose whether to use a shared version of the PNG library, and if so,
- # what its name is.
- # See gs.mak and Make.htm for more information.
-
--SHARE_LIBPNG=0
-+SHARE_LIBPNG=1
- LIBPNG_NAME=png
-
- # Define the directory where the zlib sources are stored.
-@@ -159,7 +157,7 @@
- # what its name is (usually libz, but sometimes libgz).
- # See gs.mak and Make.htm for more information.
-
--SHARE_ZLIB=0
-+SHARE_ZLIB=1
- #ZLIB_NAME=gz
- ZLIB_NAME=z
-
-@@ -178,7 +176,7 @@
-
- # Define the name of the C compiler.
-
--CC=gcc
-+#CC=cc
-
- # Define the name of the linker for the final link step.
- # Normally this is the same as the C compiler.
-@@ -211,7 +209,7 @@
- # gcc to accept ANSI-style function prototypes and function definitions.
- XCFLAGS=
-
--CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS)
-+#CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS)
-
- # Define platform flags for ld.
- # SunOS 4.n may need -Bstatic.
-@@ -220,7 +218,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.
--XLDFLAGS=
-+XLDFLAGS=-L${LOCALBASE}/lib
-
- LDFLAGS=$(XLDFLAGS) -fno-common
-
-@@ -240,7 +238,7 @@
- # Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
- # not in $(XINCLUDE).
-
--XINCLUDE=-I/usr/local/X/include
-+XINCLUDE=-I$(X11BASE)/include
-
- # 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
-@@ -252,12 +250,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
--#XLIBS=Xt SM ICE Xext X11
-+XLIBS=Xt SM ICE Xext X11
-
- #XLIBDIRS=-L/usr/local/X/lib
--XLIBDIRS=-L/usr/X11/lib
-+XLIBDIRS=-L$(X11BASE)/lib
- XLIBDIR=
--XLIBS=Xt Xext X11
-+#XLIBS=Xt X11
-
- # Define whether this platform has floating point hardware:
- # FPU_TYPE=2 means floating point is faster than fixed point.
-@@ -298,27 +296,6 @@
-
- FILE_IMPLEMENTATION=stdio
-
--# Choose the device(s) to include. See devs.mak for details,
--# devs.mak and contrib.mak for the list of available devices.
--
--DEVICE_DEVS=x11.dev x11alpha.dev x11cmyk.dev x11gray2.dev x11gray4.dev x11mono.dev
--#DEVICE_DEVS1=bmpmono.dev bmpamono.dev posync.dev
--DEVICE_DEVS1=
--DEVICE_DEVS2=
--DEVICE_DEVS3=deskjet.dev djet500.dev laserjet.dev ljetplus.dev ljet2p.dev ljet3.dev ljet4.dev
--DEVICE_DEVS4=cdeskjet.dev cdjcolor.dev cdjmono.dev cdj550.dev pj.dev pjxl.dev pjxl300.dev
--DEVICE_DEVS5=uniprint.dev
--DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev
--DEVICE_DEVS7=faxg3.dev faxg32d.dev faxg4.dev
--DEVICE_DEVS8=pcxmono.dev pcxgray.dev pcx16.dev pcx256.dev pcx24b.dev pcxcmyk.dev
--DEVICE_DEVS9=pbm.dev pbmraw.dev pgm.dev pgmraw.dev pgnm.dev pgnmraw.dev pnm.dev pnmraw.dev ppm.dev ppmraw.dev pkm.dev pkmraw.dev
--DEVICE_DEVS10=tiffcrle.dev tiffg3.dev tiffg32d.dev tiffg4.dev tifflzw.dev tiffpack.dev
--DEVICE_DEVS11=tiff12nc.dev tiff24nc.dev
--DEVICE_DEVS12=psmono.dev psgray.dev psrgb.dev bit.dev bitrgb.dev bitcmyk.dev
--DEVICE_DEVS13=pngmono.dev pnggray.dev png16.dev png256.dev png16m.dev
--DEVICE_DEVS14=jpeg.dev jpeggray.dev
--DEVICE_DEVS15=pdfwrite.dev pswrite.dev epswrite.dev pxlmono.dev pxlcolor.dev
--
- # ---------------------------- End of options --------------------------- #
-
- # Define the name of the partial makefile that specifies options --
-@@ -326,16 +303,10 @@
-
- MAKEFILE=$(GLSRC)unix-gcc.mak
-
--# Define the ANSI-to-K&R dependency. There isn't one, but we do have to
--# detect whether we're running a version of gcc with the const optimization
--# bug.
--
--AK=$(GLGENDIR)/cc.tr
--
- # Define the compilation rules and flags.
-
- CCFLAGS=$(GENOPT) $(CFLAGS)
--CC_=$(CC) `cat $(AK)` $(CCFLAGS)
-+CC_=$(CC) $(CCFLAGS)
- CCAUX=$(CC)
- #We can't use -fomit-frame-pointer with -pg....
- #CC_LEAF=$(CC_)
-@@ -356,7 +327,3 @@
- include $(GLSRC)unixtail.mak
- include $(GLSRC)unix-end.mak
- include $(GLSRC)unixinst.mak
--
--# This has to come last so it won't be taken as the default target.
--$(AK):
-- if ( gcc --version | grep "2.7.[01]" >/dev/null || test `gcc --version` = 2.7.2 ); then echo -Dconst= >$(AK); else echo -Wcast-qual -Wwrite-strings >$(AK); fi
diff --git a/print/ghostscript-gnu/files/patch-ab b/print/ghostscript-gnu/files/patch-ab
deleted file mode 100644
index aee04b39d512..000000000000
--- a/print/ghostscript-gnu/files/patch-ab
+++ /dev/null
@@ -1,10 +0,0 @@
---- gs_init.ps.orig Thu Jan 2 19:23:13 1997
-+++ gs_init.ps Thu Jan 2 19:24:46 1997
-@@ -1363,3 +1363,7 @@
- (END GC) VMDEBUG
-
- % The interpreter will run the initial procedure (start).
-+
-+% unofficial patch:
-+% make it possible to print from within acroread pdf viewer
-+/Default currenthalftone /Halftone defineresource pop
diff --git a/print/ghostscript-gnu/files/patch-ac b/print/ghostscript-gnu/files/patch-ac
deleted file mode 100644
index ebd487b9fa66..000000000000
--- a/print/ghostscript-gnu/files/patch-ac
+++ /dev/null
@@ -1,21 +0,0 @@
---- contrib.mak.orig Tue Sep 15 04:03:52 1998
-+++ contrib.mak Tue Dec 1 15:37:58 1998
-@@ -435,6 +435,18 @@
- cdj850.dev: $(cdeskjet8_) page.dev
- $(SETPDEV) cdj850 $(cdeskjet8_)
-
-+cdj670.dev: $(cdeskjet8_) page.dev
-+ $(SETPDEV) cdj670 $(cdeskjet8_)
-+
-+cdj890.dev: $(cdeskjet8_) page.dev
-+ $(SETPDEV) cdj890 $(cdeskjet8_)
-+
-+cdj1600.dev: $(cdeskjet8_) page.dev
-+ $(SETPDEV) cdj1600 $(cdeskjet8_)
-+
-+$(GLOBJ)gdevcd8.$(OBJ): $(GLSRC)gdevcd8.c $(GLSRC)gdevcd8.h $(PDEVH)
-+ $(GLCC) $(GLO_)gdevcd8.$(OBJ) $(C_) $(GLSRC)gdevcd8.c
-+
- ### ------------ The H-P PaintJet color printer device ----------------- ###
- ### Note: this driver also supports the DEC LJ250 color printer, which ###
- ### has a PaintJet-compatible mode, and the PaintJet XL. ###
diff --git a/print/ghostscript-gnu/files/patch-ad b/print/ghostscript-gnu/files/patch-ad
deleted file mode 100644
index 9688a7b217ff..000000000000
--- a/print/ghostscript-gnu/files/patch-ad
+++ /dev/null
@@ -1,34 +0,0 @@
---- gp_unifs.c.orig Mon Feb 14 11:28:25 2000
-+++ gp_unifs.c Fri Jul 28 23:53:04 2000
-@@ -33,6 +33,7 @@
- #include "stat_.h"
- #include "dirent_.h"
- #include <sys/param.h> /* for MAXPATHLEN */
-+#include <unistd.h>
-
- /* Some systems (Interactive for example) don't define MAXPATHLEN,
- * so we define it here. (This probably should be done via a Config-Script.)
-@@ -63,6 +64,8 @@
- const char *mode)
- { /* The -8 is for XXXXXX plus a possible final / and -. */
- int len = gp_file_name_sizeof - strlen(prefix) - 8;
-+ int fd;
-+ FILE *f;
-
- if (gp_getenv("TEMP", fname, &len) != 0)
- strcpy(fname, "/tmp/");
-@@ -75,8 +78,12 @@
- if (*fname != 0 && fname[strlen(fname) - 1] == 'X')
- strcat(fname, "-");
- strcat(fname, "XXXXXX");
-- mktemp(fname);
-- return fopen(fname, mode);
-+ fd = mkstemp(fname);
-+ if (fd == -1)
-+ return NULL;
-+ if ((f = fdopen(fd, mode)) == NULL)
-+ close(fd);
-+ return f;
- }
-
- /* Open a file with the given name, as a stream of uninterpreted bytes. */