summaryrefslogtreecommitdiff
path: root/print/ghostscript-gpl/files
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2001-11-04 07:32:00 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2001-11-04 07:32:00 +0000
commit9b617e3efa5a4d2cc365c98739f696c50ca457a0 (patch)
tree71db67ffa7c66129bba24a62ac6ff1d04fb7f0cc /print/ghostscript-gpl/files
parentupdate AUTHOR email (diff)
Update to 7.03
PR: 31723 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=49551
Diffstat (limited to 'print/ghostscript-gpl/files')
-rw-r--r--print/ghostscript-gpl/files/patch-pcl3:eprn:gdeveprn.c12
-rw-r--r--print/ghostscript-gpl/files/patch-src:gp_unifs.c34
-rw-r--r--print/ghostscript-gpl/files/patch-src:unix-gcc.mak22
-rw-r--r--print/ghostscript-gpl/files/patch-src:zmedia2.c10
4 files changed, 16 insertions, 62 deletions
diff --git a/print/ghostscript-gpl/files/patch-pcl3:eprn:gdeveprn.c b/print/ghostscript-gpl/files/patch-pcl3:eprn:gdeveprn.c
deleted file mode 100644
index 605148be439c..000000000000
--- a/print/ghostscript-gpl/files/patch-pcl3:eprn:gdeveprn.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- pcl3/eprn/gdeveprn.c.orig Sun Mar 25 13:59:11 2001
-+++ pcl3/eprn/gdeveprn.c Tue Apr 10 17:53:03 2001
-@@ -81,6 +81,9 @@
- #include "gstypes.h" /* needed by gsstate.h */
- #include "gsstate.h" /* needed by icstate.h */
- #include "icstate.h" /* for struct gs_context_state_s */
-+#if !defined(GS_REVISION) || GS_REVISION >= 700
-+#include "iapi.h" /* needed by iminst.h */
-+#endif
- #include "iminst.h" /* for struct gs_main_instance_s */
- #include "imain.h" /* for gs_main_instance_default() */
- #include "gscoord.h" /* for gs_setdefaultmatrix() */
diff --git a/print/ghostscript-gpl/files/patch-src:gp_unifs.c b/print/ghostscript-gpl/files/patch-src:gp_unifs.c
deleted file mode 100644
index 68c9bcaf175b..000000000000
--- a/print/ghostscript-gpl/files/patch-src:gp_unifs.c
+++ /dev/null
@@ -1,34 +0,0 @@
---- src/gp_unifs.c.orig Tue Mar 13 15:51:39 2001
-+++ src/gp_unifs.c Wed Jun 20 04:06:02 2001
-@@ -28,6 +28,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.)
-@@ -58,6 +59,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_gettmpdir(fname, &len) != 0)
- strcpy(fname, "/tmp/");
-@@ -70,8 +73,12 @@
- if (*fname != 0 && fname[strlen(fname) - 1] == 'X')
- strcat(fname, "-");
- strcat(fname, "XXXXXX");
-- mktemp(fname);
-- return gp_fopentemp(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. */
diff --git a/print/ghostscript-gpl/files/patch-src:unix-gcc.mak b/print/ghostscript-gpl/files/patch-src:unix-gcc.mak
index dbadbe4eb3c1..22ec0928c428 100644
--- a/print/ghostscript-gpl/files/patch-src:unix-gcc.mak
+++ b/print/ghostscript-gpl/files/patch-src:unix-gcc.mak
@@ -1,5 +1,5 @@
---- src/unix-gcc.mak.orig Mon Apr 9 14:52:57 2001
-+++ src/unix-gcc.mak Wed Sep 12 22:54:27 2001
+--- src/unix-gcc.mak.orig Fri Nov 2 03:45:56 2001
++++ src/unix-gcc.mak Fri Nov 2 03:54:59 2001
@@ -26,14 +26,15 @@
# source, generated intermediate file, and object directories
# for the graphics library (GL) and the PostScript/PDF interpreter (PS).
@@ -39,7 +39,7 @@
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
scriptdir = $(bindir)
-@@ -128,7 +128,7 @@
+@@ -137,7 +137,7 @@
# You may need to change this if the IJG library version changes.
# See jpeg.mak for more information.
@@ -48,13 +48,13 @@
JVERSION=6
# Choose whether to use a shared version of the IJG JPEG library (-ljpeg).
-@@ -148,14 +148,14 @@
+@@ -157,14 +157,14 @@
# You may need to change this if the libpng version changes.
# See libpng.mak for more information.
-PSRCDIR=libpng
+PSRCDIR=${LOCALBASE}/include
- PVERSION=10010
+ PVERSION=10012
# 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.
-@@ -167,7 +167,7 @@
+@@ -176,7 +176,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
-@@ -187,7 +187,7 @@
+@@ -196,7 +196,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.
-@@ -220,9 +220,11 @@
+@@ -229,9 +229,11 @@
# We don't include -ansi, because this gets in the way of the platform-
# specific stuff that <math.h> typically needs; nevertheless, we expect
# gcc to accept ANSI-style function prototypes and function definitions.
@@ -97,7 +97,7 @@
# Define platform flags for ld.
# SunOS 4.n may need -Bstatic.
-@@ -231,7 +233,7 @@
+@@ -240,7 +242,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.
@@ -106,7 +106,7 @@
LDFLAGS=$(XLDFLAGS) -fno-common
-@@ -264,7 +266,7 @@
+@@ -273,7 +275,7 @@
# Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
# not in $(XINCLUDE).
@@ -115,7 +115,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
-@@ -277,11 +279,16 @@
+@@ -286,11 +288,16 @@
#XLIBDIRS=-L/usr/openwin/lib -R/usr/openwin/lib
# X11R6 (on any platform) may need
#XLIBS=Xt SM ICE Xext X11
diff --git a/print/ghostscript-gpl/files/patch-src:zmedia2.c b/print/ghostscript-gpl/files/patch-src:zmedia2.c
index 7db33eaecc44..9033a4388085 100644
--- a/print/ghostscript-gpl/files/patch-src:zmedia2.c
+++ b/print/ghostscript-gpl/files/patch-src:zmedia2.c
@@ -1,10 +1,10 @@
---- src/zmedia2.c.orig Wed Sep 20 04:00:54 2000
-+++ src/zmedia2.c Wed Jun 20 04:06:24 2001
-@@ -427,11 +427,17 @@
+--- src/zmedia2.c.orig Fri Apr 27 02:57:41 2001
++++ src/zmedia2.c Fri Nov 2 04:08:16 2001
+@@ -429,11 +429,17 @@
rx = ry, ry = temp;
}
-- /* Adjust the medium size if flexible. */
+- /* Adjust the medium size if flexible. */
- if (medium->p.x < MIN_MEDIA_SIZE && mx > rx)
- mx = rx;
- if (medium->p.y < MIN_MEDIA_SIZE && my > ry)
@@ -21,5 +21,5 @@
+ else if (my > ry) my = ry; /* fits */
+ /* else use medium->q.y, i.e., the maximum */
- /* Translate to align the centers. */
+ /* Translate to align the centers. */
gs_make_translation(mx / 2, my / 2, pmat);