summaryrefslogtreecommitdiff
path: root/print/ghostscript8-base/files
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript8-base/files')
-rw-r--r--print/ghostscript8-base/files/patch-Resource_Init_cidfmap (renamed from print/ghostscript8-base/files/patch-Resource-Init-cidfmap)4
-rw-r--r--print/ghostscript8-base/files/patch-Resource_Init_gs__statd.ps (renamed from print/ghostscript8-base/files/patch-Resource-Init-gs_statd.ps)8
-rw-r--r--print/ghostscript8-base/files/patch-Resource_Init_gs__ttf.ps (renamed from print/ghostscript8-base/files/patch-Resource-Init-gs_ttf.ps)6
-rw-r--r--print/ghostscript8-base/files/patch-Resource_Init_pdf__font.ps (renamed from print/ghostscript8-base/files/patch-Resource-Init-pdf_font.ps)6
-rw-r--r--print/ghostscript8-base/files/patch-base_Makefile.in (renamed from print/ghostscript8-base/files/patch-base-Makefile.in)22
-rw-r--r--print/ghostscript8-base/files/patch-base_configure.ac (renamed from print/ghostscript8-base/files/patch-base-configure.ac)14
-rw-r--r--print/ghostscript8-base/files/patch-base_contrib.mak (renamed from print/ghostscript8-base/files/patch-base-contrib.mak)6
-rw-r--r--print/ghostscript8-base/files/patch-base_devs.mak (renamed from print/ghostscript8-base/files/patch-base-devs.mak)12
-rw-r--r--print/ghostscript8-base/files/patch-base_errors.h (renamed from print/ghostscript8-base/files/patch-base-errors.h)4
-rw-r--r--print/ghostscript8-base/files/patch-base_gdevl256.c (renamed from print/ghostscript8-base/files/patch-base-gdevl256.c)8
-rw-r--r--print/ghostscript8-base/files/patch-base_gdevperm.c (renamed from print/ghostscript8-base/files/patch-base-gdevperm.c)6
-rw-r--r--print/ghostscript8-base/files/patch-base_gdevvglb.c (renamed from print/ghostscript8-base/files/patch-base-gdevvglb.c)8
-rw-r--r--print/ghostscript8-base/files/patch-base_gs.mak (renamed from print/ghostscript8-base/files/patch-base-gs.mak)6
-rw-r--r--print/ghostscript8-base/files/patch-base_gsmalloc.c (renamed from print/ghostscript8-base/files/patch-base-gsmalloc.c)6
-rw-r--r--print/ghostscript8-base/files/patch-base_gxobj.h (renamed from print/ghostscript8-base/files/patch-base-gxobj.h)6
-rw-r--r--print/ghostscript8-base/files/patch-base_ijs.mak (renamed from print/ghostscript8-base/files/patch-base-ijs.mak)8
-rw-r--r--print/ghostscript8-base/files/patch-base_lib.mak (renamed from print/ghostscript8-base/files/patch-base-lib.mak)8
-rw-r--r--print/ghostscript8-base/files/patch-base_sjpx.c (renamed from print/ghostscript8-base/files/patch-base-sjpx.c)9
-rw-r--r--print/ghostscript8-base/files/patch-base_unix-dll.mak (renamed from print/ghostscript8-base/files/patch-base-unix-dll.mak)6
-rw-r--r--print/ghostscript8-base/files/patch-base_unix-gcc.mak (renamed from print/ghostscript8-base/files/patch-base-unix-gcc.mak)40
-rw-r--r--print/ghostscript8-base/files/patch-base_unixinst.mak (renamed from print/ghostscript8-base/files/patch-base-unixinst.mak)8
-rw-r--r--print/ghostscript8-base/files/patch-contrib_contrib.mak (renamed from print/ghostscript8-base/files/patch-contrib-contrib.mak)6
-rw-r--r--print/ghostscript8-base/files/patch-contrib_japanese_dmp__site.ps (renamed from print/ghostscript8-base/files/patch-contrib__japanese__dmp_site.ps)4
-rw-r--r--print/ghostscript8-base/files/patch-contrib_japanese_gdevdmpr.c (renamed from print/ghostscript8-base/files/patch-contrib__japanese__gdevdmpr.c)10
-rw-r--r--print/ghostscript8-base/files/patch-contrib_lips4_gdevlips.c (renamed from print/ghostscript8-base/files/patch-lips:gdevlips.c)6
-rw-r--r--print/ghostscript8-base/files/patch-contrib_lips4_gdevlips.h (renamed from print/ghostscript8-base/files/patch-lips:gdevlips.h)8
-rw-r--r--print/ghostscript8-base/files/patch-epag-3.09_ert.c (renamed from print/ghostscript8-base/files/patch-epag-ert.c)4
-rw-r--r--print/ghostscript8-base/files/patch-epag-3.09_gdevepag.c (renamed from print/ghostscript8-base/files/patch-epag__gdevepag.c)36
-rw-r--r--print/ghostscript8-base/files/patch-lib_FAPIcidfmap (renamed from print/ghostscript8-base/files/patch-lib-FAPIcidfmap)4
-rw-r--r--print/ghostscript8-base/files/patch-lib_FAPIconfig (renamed from print/ghostscript8-base/files/patch-lib-FAPIconfig)4
-rw-r--r--print/ghostscript8-base/files/patch-lib_pdf2dsc.ps (renamed from print/ghostscript8-base/files/patch-lib-pdf2dsc.ps)6
-rw-r--r--print/ghostscript8-base/files/patch-libpng152
-rw-r--r--print/ghostscript8-base/files/patch-psi_zicc.c (renamed from print/ghostscript8-base/files/patch-psi-zicc.c)10
33 files changed, 150 insertions, 151 deletions
diff --git a/print/ghostscript8-base/files/patch-Resource-Init-cidfmap b/print/ghostscript8-base/files/patch-Resource_Init_cidfmap
index 8ed71789f4fe..02d24cb091e8 100644
--- a/print/ghostscript8-base/files/patch-Resource-Init-cidfmap
+++ b/print/ghostscript8-base/files/patch-Resource_Init_cidfmap
@@ -1,5 +1,5 @@
---- Resource/Init/cidfmap.orig 2008-08-08 13:22:38.000000000 +0900
-+++ Resource/Init/cidfmap 2009-12-20 03:03:17.000000000 +0900
+--- Resource/Init/cidfmap.orig 2008-08-08 04:22:38 UTC
++++ Resource/Init/cidfmap
@@ -26,3 +26,64 @@
% /ShinGo-Bold /HeiseiKakuGo-W5 ;
% /Ryumin-Medium << /FileType /TrueType /Path (H:/AuxFiles/Fonts/BATANG.TTC) /SubfontID 3 /CSI [(Japan1) 2] >> ;
diff --git a/print/ghostscript8-base/files/patch-Resource-Init-gs_statd.ps b/print/ghostscript8-base/files/patch-Resource_Init_gs__statd.ps
index ab50080daeb8..22f8bedf4f08 100644
--- a/print/ghostscript8-base/files/patch-Resource-Init-gs_statd.ps
+++ b/print/ghostscript8-base/files/patch-Resource_Init_gs__statd.ps
@@ -1,6 +1,6 @@
---- Resource/Init/gs_statd.ps.orig 2009-03-16 07:42:53.000000000 +0900
-+++ Resource/Init/gs_statd.ps 2009-12-20 01:35:53.000000000 +0900
-@@ -111,6 +111,12 @@
+--- Resource/Init/gs_statd.ps.orig 2009-03-15 22:42:53 UTC
++++ Resource/Init/gs_statd.ps
+@@ -111,6 +111,12 @@ STRICT { (%END SIZES) .skipeof } if
/pa4 {595 792 //.setpagesize exec} bind def
% Japanese postcard size, 100mm x 148mm
/hagaki {283 420 //.setpagesize exec} bind def
@@ -13,7 +13,7 @@
% /tabloid {792 1224 //.setpagesize exec} bind def % 11x17 portrait
% /csheet {1224 1584 //.setpagesize exec} bind def % ANSI C 17x22
% /dsheet {1584 2448 //.setpagesize exec} bind def % ANSI D 22x34
-@@ -127,6 +133,7 @@
+@@ -127,6 +133,7 @@ statusdict begin
[ /letter /note %do not change this line, needed by 'setpagetype'
/legal /lettersmall
/11x17 /ledger
diff --git a/print/ghostscript8-base/files/patch-Resource-Init-gs_ttf.ps b/print/ghostscript8-base/files/patch-Resource_Init_gs__ttf.ps
index 0d5a025abe1c..38e7c092adf8 100644
--- a/print/ghostscript8-base/files/patch-Resource-Init-gs_ttf.ps
+++ b/print/ghostscript8-base/files/patch-Resource_Init_gs__ttf.ps
@@ -1,6 +1,6 @@
---- Resource/Init/gs_ttf.ps.orig Tue Feb 6 20:07:48 2007
-+++ Resource/Init/gs_ttf.ps Sat Mar 24 16:15:49 2007
-@@ -997,10 +997,17 @@
+--- Resource/Init/gs_ttf.ps.orig 2010-01-03 01:07:12 UTC
++++ Resource/Init/gs_ttf.ps
+@@ -1104,10 +1104,17 @@ mark
} ifelse
% Stack: ... /FontInfo mark key1 value1 ...
post null ne {
diff --git a/print/ghostscript8-base/files/patch-Resource-Init-pdf_font.ps b/print/ghostscript8-base/files/patch-Resource_Init_pdf__font.ps
index c966e57fba11..f0295a2c7798 100644
--- a/print/ghostscript8-base/files/patch-Resource-Init-pdf_font.ps
+++ b/print/ghostscript8-base/files/patch-Resource_Init_pdf__font.ps
@@ -1,6 +1,6 @@
---- Resource/Init/pdf_font.ps.orig Tue Aug 31 13:03:30 2004
-+++ Resource/Init/pdf_font.ps Wed Sep 15 19:15:00 2004
-@@ -1114,10 +1114,12 @@
+--- Resource/Init/pdf_font.ps.orig 2010-02-08 16:45:18 UTC
++++ Resource/Init/pdf_font.ps
+@@ -1514,10 +1514,12 @@ currentdict /CMap_read_dict undef
/buildCIDType0 { % <CIDFontType0-font-resource> buildCIDType0 <font>
dup /BaseFont get findCIDFont exch pop
diff --git a/print/ghostscript8-base/files/patch-base-Makefile.in b/print/ghostscript8-base/files/patch-base_Makefile.in
index fdfac547a986..b995843e7051 100644
--- a/print/ghostscript8-base/files/patch-base-Makefile.in
+++ b/print/ghostscript8-base/files/patch-base_Makefile.in
@@ -1,6 +1,6 @@
---- base/Makefile.in.orig 2009-12-18 16:04:10.000000000 +0900
-+++ base/Makefile.in 2014-11-23 17:40:23.000000000 +0900
-@@ -47,9 +47,9 @@
+--- base/Makefile.in.orig 2009-12-18 07:04:10 UTC
++++ base/Makefile.in
+@@ -47,9 +47,9 @@ PSD=$(PSGENDIR)/
# the directories also define the default search path for the
# initialization files (gs_*.ps) and the fonts.
@@ -13,7 +13,7 @@
INSTALL_SHARED = @INSTALL_SHARED@
prefix = @prefix@
-@@ -156,7 +156,7 @@
+@@ -156,7 +156,7 @@ JSRCDIR=@LIBJPEGDIR@
# some older JPEG streams that violate the standard. If the JPEG
# library built from local sources, the patch will be applied.
@@ -22,7 +22,7 @@
JPEG_NAME=jpeg
# Define the directory where the PNG library sources are stored,
-@@ -164,12 +164,12 @@
+@@ -164,12 +164,12 @@ JPEG_NAME=jpeg
# You may need to change this if the libpng version changes.
# See libpng.mak for more information.
@@ -37,7 +37,7 @@
TIFFSRCDIR=@LIBTIFFDIR@
TIFFPLATFORM=unix
TIFFCONFIG_SUFFIX=
-@@ -178,7 +178,7 @@
+@@ -178,7 +178,7 @@ LIBTIFF_NAME=tiff
# Define the directory where the zlib sources are stored.
# See zlib.mak for more information.
@@ -46,7 +46,7 @@
ZSRCDIR=@ZLIBDIR@
#ZLIB_NAME=gz
ZLIB_NAME=z
-@@ -254,7 +254,7 @@
+@@ -254,7 +254,7 @@ GCFLAGS=@CPPFLAGS@ @GCFLAGS@ @CFLAGS@
# Define the added flags for standard, debugging, profiling
# and shared object builds.
@@ -55,7 +55,7 @@
CFLAGS_DEBUG=-g -O0
CFLAGS_PROFILE=-pg @OPT_CFLAGS@
CFLAGS_SO=@DYNAMIC_CFLAGS@
-@@ -299,7 +299,7 @@
+@@ -299,7 +299,7 @@ LDFLAGS=@LDFLAGS@ $(XLDFLAGS)
# Solaris may need -lnsl -lsocket -lposix4.
# (Libraries required by individual drivers are handled automatically.)
@@ -64,7 +64,7 @@
# Define the standard libraries to search at the end of linking.
# Most platforms require -lpthread for the POSIX threads library;
-@@ -343,7 +343,7 @@
+@@ -343,7 +343,7 @@ XLIBS=@X_LIBS@
# the pthread library. Otherwise use SYNC=nosync
#SYNC=posync
#SYNC=nosync
@@ -73,7 +73,7 @@
# programs we use
RM=rm -f
-@@ -436,27 +436,27 @@
+@@ -436,27 +436,27 @@ DISPLAY_DEV=$(DD)bbox.dev
#DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev
#DEVICE_DEVS21=$(DD)spotcmyk.dev $(DD)devicen.dev $(DD)xcf.dev $(DD)psdcmyk.dev $(DD)psdrgb.dev
DEVICE_DEVS=$(DISPLAY_DEV) @X_DEVS@
@@ -122,7 +122,7 @@
# Shared library target to build.
-@@ -490,6 +490,7 @@
+@@ -490,6 +490,7 @@ CC_SHARED=$(CC_) @DYNAMIC_LDFLAGS@
# ---------------- End of platform-specific section ---------------- #
INSTALL_CONTRIB=@INSTALL_CONTRIB@
diff --git a/print/ghostscript8-base/files/patch-base-configure.ac b/print/ghostscript8-base/files/patch-base_configure.ac
index 955405b1c8e7..d1c15b13891d 100644
--- a/print/ghostscript8-base/files/patch-base-configure.ac
+++ b/print/ghostscript8-base/files/patch-base_configure.ac
@@ -1,6 +1,6 @@
---- base/configure.ac.orig 2009-11-24 17:36:27.000000000 +0900
-+++ base/configure.ac 2015-08-21 20:48:08.929511000 +0900
-@@ -402,7 +402,7 @@
+--- base/configure.ac.orig 2009-11-24 08:36:27 UTC
++++ base/configure.ac
+@@ -402,7 +402,7 @@ if test -f libpng/pngread.c; then
PNGDEVS="$PNGDEVS_ALL"
else
AC_MSG_RESULT([no])
@@ -9,7 +9,7 @@
AC_CHECK_HEADERS(png.h, [
SHARE_LIBPNG=1
PNGDEVS="$PNGDEVS_ALL"
-@@ -434,7 +434,7 @@
+@@ -434,7 +434,7 @@ case "x$with_system_libtiff" in
AC_CHECK_LIB(tiff, TIFFOpen,
[AC_CHECK_HEADERS(tiff.h, [HAVE_SYSTEM_LIBTIFF=1;SHARE_LIBTIFF=1])],
[], [-ljpeg])
@@ -18,7 +18,7 @@
AC_MSG_NOTICE([Could not find a copy of libtiff on your system.
Disabling tiff output devices.])
else
-@@ -758,7 +758,7 @@
+@@ -758,7 +758,7 @@ X_CFLAGS=""
X_DEVS=""
X_LIBS=""
@@ -27,7 +27,7 @@
if test "$x_libraries" = "/usr/lib"; then
echo "Ignoring X library directory \"$x_libraries\" requested by configure."
x_libraries="NONE"
-@@ -1063,7 +1063,11 @@
+@@ -1063,7 +1063,11 @@ AC_ARG_ENABLE([dynamic], AC_HELP_STRING(
;;
*BSD)
DYNAMIC_CFLAGS="-fPIC"
@@ -40,7 +40,7 @@
DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\""
DYNAMIC_LDFLAGS="-fPIC -shared"
DYNAMIC_LIBS=""
-@@ -1119,11 +1123,11 @@
+@@ -1119,11 +1123,11 @@ if test "x$fontpath" = "x"; then
fontpath="${fontpath}:$datadir/fonts/default/TrueType"
# These font directories are used by IRIX...
diff --git a/print/ghostscript8-base/files/patch-base-contrib.mak b/print/ghostscript8-base/files/patch-base_contrib.mak
index 9f9406007bb4..e3bdbf72aa65 100644
--- a/print/ghostscript8-base/files/patch-base-contrib.mak
+++ b/print/ghostscript8-base/files/patch-base_contrib.mak
@@ -1,6 +1,6 @@
---- base/contrib.mak.orig 2008-03-04 06:06:45.000000000 +0900
-+++ base/contrib.mak 2008-03-04 06:07:11.000000000 +0900
-@@ -858,3 +858,5 @@
+--- base/contrib.mak.orig 2009-04-28 22:11:03 UTC
++++ base/contrib.mak
+@@ -858,3 +858,5 @@ $(DD)picty180.dev : $(cdeskjet_)
$(SETPDEV) $(DD)picty180 $(cdeskjet_)
#########################################################################
diff --git a/print/ghostscript8-base/files/patch-base-devs.mak b/print/ghostscript8-base/files/patch-base_devs.mak
index 8c7cc96f7620..f3e36e8ac530 100644
--- a/print/ghostscript8-base/files/patch-base-devs.mak
+++ b/print/ghostscript8-base/files/patch-base_devs.mak
@@ -1,6 +1,6 @@
---- base/devs.mak.orig 2009-11-12 00:50:28.000000000 +0900
-+++ base/devs.mak 2015-08-21 20:37:24.364436000 +0900
-@@ -421,10 +421,10 @@
+--- base/devs.mak.orig 2009-11-11 15:50:28 UTC
++++ base/devs.mak
+@@ -421,10 +421,10 @@ $(GLOBJ)gdevvglb.$(OBJ) : $(GLSRC)gdevvg
### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT
$(GLOBJ)lvga256.so : $(lvga256_)
@@ -13,7 +13,7 @@
### -------------------------- The X11 device -------------------------- ###
-@@ -457,7 +457,7 @@
+@@ -457,7 +457,7 @@ $(GLOBJ)gdevx.$(OBJ) : $(GLSRC)gdevx.c $
$(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevx.$(OBJ) $(C_) $(GLSRC)gdevx.c
$(GLOBJ)gdevxcmp.$(OBJ) : $(GLSRC)gdevxcmp.c $(GDEVX) $(math__h)
@@ -22,7 +22,7 @@
$(GLOBJ)gdevxini.$(OBJ) : $(GLSRC)gdevxini.c $(GDEVX) $(memory__h)\
$(gserrors_h) $(gsparamx_h) $(gxdevmem_h) $(gdevbbox_h)
-@@ -467,7 +467,7 @@
+@@ -467,7 +467,7 @@ $(GLOBJ)gdevxini.$(OBJ) : $(GLSRC)gdevxi
# const/non-const cast required by the X headers that we can't work around.
$(GLOBJ)gdevxres.$(OBJ) : $(GLSRC)gdevxres.c $(std_h) $(x__h)\
$(gsmemory_h) $(gstypes_h) $(gxdevice_h) $(gdevx_h)
@@ -31,7 +31,7 @@
$(GLOBJ)gdevxxf.$(OBJ) : $(GLSRC)gdevxxf.c $(GDEVX) $(math__h) $(memory__h)\
$(gsstruct_h) $(gsutil_h) $(gxxfont_h)
-@@ -527,7 +527,7 @@
+@@ -527,7 +527,7 @@ $(GLOBJ)gdevxalt.$(OBJ) : $(GLSRC)gdevxa
### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT
$(GLOBJ)X11.so : $(x11alt_) $(x11_)
diff --git a/print/ghostscript8-base/files/patch-base-errors.h b/print/ghostscript8-base/files/patch-base_errors.h
index 89a493c96120..c8f7797f4bda 100644
--- a/print/ghostscript8-base/files/patch-base-errors.h
+++ b/print/ghostscript8-base/files/patch-base_errors.h
@@ -1,5 +1,5 @@
---- base/errors.h.orig 2007-06-06 07:23:38.000000000 +0900
-+++ base/errors.h 2009-03-29 03:53:40.000000000 +0900
+--- base/errors.h.orig 2007-06-05 22:23:38 UTC
++++ base/errors.h
@@ -21,6 +21,6 @@
*/
diff --git a/print/ghostscript8-base/files/patch-base-gdevl256.c b/print/ghostscript8-base/files/patch-base_gdevl256.c
index 60be4a072b51..342a0d562b98 100644
--- a/print/ghostscript8-base/files/patch-base-gdevl256.c
+++ b/print/ghostscript8-base/files/patch-base_gdevl256.c
@@ -1,6 +1,6 @@
---- base/gdevl256.c.orig 2007-09-25 22:31:24.000000000 +0900
-+++ base/gdevl256.c 2010-08-01 23:05:56.000000000 +0900
-@@ -143,9 +143,12 @@
+--- base/gdevl256.c.orig 2007-09-25 13:31:24 UTC
++++ base/gdevl256.c
+@@ -143,9 +143,12 @@ lvga256_close(gx_device * dev)
/* for compatibility with the older display modes: */
/* these are indexed as 0.0.R0.G0.B0.R1.G1.B1. */
gx_color_index
@@ -15,7 +15,7 @@
#define cv_bits(v,n) (v >> (gx_color_value_bits - n))
ushort r5 = cv_bits(r, 5), g5 = cv_bits(g, 5), b5 = cv_bits(b, 5);
static const byte cube_bits[32] =
-@@ -301,12 +304,3 @@
+@@ -301,12 +304,3 @@ lvga256_draw_line(gx_device * dev, int x
gl_line(x0, y0, x1, y1, color);
return 0;
}
diff --git a/print/ghostscript8-base/files/patch-base-gdevperm.c b/print/ghostscript8-base/files/patch-base_gdevperm.c
index 94b9020eb2c5..58eb6619560d 100644
--- a/print/ghostscript8-base/files/patch-base-gdevperm.c
+++ b/print/ghostscript8-base/files/patch-base_gdevperm.c
@@ -1,6 +1,6 @@
---- base/gdevperm.c.orig Tue Sep 25 22:31:24 2007
-+++ base/gdevperm.c Sat Nov 24 15:11:12 2007
-@@ -286,7 +286,7 @@
+--- base/gdevperm.c.orig 2007-09-25 13:31:24 UTC
++++ base/gdevperm.c
+@@ -286,7 +286,7 @@ perm_get_color_mapping_procs(const gx_de
(strncmp((const char *)name, (const char *)str, name_size) == 0))
static int
diff --git a/print/ghostscript8-base/files/patch-base-gdevvglb.c b/print/ghostscript8-base/files/patch-base_gdevvglb.c
index b0f061ff3a66..a4348edbb9e1 100644
--- a/print/ghostscript8-base/files/patch-base-gdevvglb.c
+++ b/print/ghostscript8-base/files/patch-base_gdevvglb.c
@@ -1,6 +1,6 @@
---- base/gdevvglb.c.orig 2007-09-25 22:31:24.000000000 +0900
-+++ base/gdevvglb.c 2010-08-01 23:08:53.000000000 +0900
-@@ -149,10 +149,13 @@
+--- base/gdevvglb.c.orig 2007-09-25 13:31:24 UTC
++++ base/gdevvglb.c
+@@ -149,10 +149,13 @@ vgalib_close(gx_device * dev)
}
static gx_color_index
@@ -17,7 +17,7 @@
}
static int
-@@ -368,12 +371,3 @@
+@@ -368,12 +371,3 @@ vgalib_put_params(gx_device * dev, gs_pa
}
return 0;
}
diff --git a/print/ghostscript8-base/files/patch-base-gs.mak b/print/ghostscript8-base/files/patch-base_gs.mak
index ecb6f57e0dd7..1a7f4ab1f725 100644
--- a/print/ghostscript8-base/files/patch-base-gs.mak
+++ b/print/ghostscript8-base/files/patch-base_gs.mak
@@ -1,6 +1,6 @@
---- base/gs.mak.orig 2010-05-23 15:46:23.000000000 +0900
-+++ base/gs.mak 2010-05-23 15:57:37.000000000 +0900
-@@ -415,7 +415,7 @@
+--- base/gs.mak.orig 2009-11-11 17:42:22 UTC
++++ base/gs.mak
+@@ -415,7 +415,7 @@ GCONFIG_EXTRAS=
ld_tr=$(GLGENDIR)$(D)ld.tr
$(ld_tr) : \
$(GS_MAK) $(TOP_MAKEFILES) $(GLSRCDIR)$(D)version.mak $(GENCONF_XE) $(ECHOGS_XE) $(devs_tr) $(DEVS_ALL) $(GLGENDIR)$(D)libcore.dev
diff --git a/print/ghostscript8-base/files/patch-base-gsmalloc.c b/print/ghostscript8-base/files/patch-base_gsmalloc.c
index c4982de93012..4ae8db0c87ab 100644
--- a/print/ghostscript8-base/files/patch-base-gsmalloc.c
+++ b/print/ghostscript8-base/files/patch-base_gsmalloc.c
@@ -1,6 +1,6 @@
---- base/gsmalloc.c.orig 2015-07-24 09:52:39.718916000 +0900
-+++ base/gsmalloc.c 2015-07-24 09:54:31.761202000 +0900
-@@ -174,7 +174,7 @@
+--- base/gsmalloc.c.orig 2009-08-18 20:41:17 UTC
++++ base/gsmalloc.c
+@@ -174,7 +174,7 @@ gs_heap_alloc_bytes(gs_memory_t * mem, u
} else {
uint added = size + sizeof(gs_malloc_block_t);
diff --git a/print/ghostscript8-base/files/patch-base-gxobj.h b/print/ghostscript8-base/files/patch-base_gxobj.h
index 529efe379df2..4480528156c2 100644
--- a/print/ghostscript8-base/files/patch-base-gxobj.h
+++ b/print/ghostscript8-base/files/patch-base_gxobj.h
@@ -1,6 +1,6 @@
---- base/gxobj.h.orig Tue Mar 14 01:18:19 2006
-+++ base/gxobj.h Fri Mar 23 14:41:44 2007
-@@ -109,11 +109,15 @@
+--- base/gxobj.h.orig 2007-10-20 19:14:28 UTC
++++ base/gxobj.h
+@@ -107,11 +107,15 @@ typedef struct obj_header_data_s {
* required by the hardware, regardless of the value of obj_align_mod.
* See gsmemraw.h for more information about this.
*/
diff --git a/print/ghostscript8-base/files/patch-base-ijs.mak b/print/ghostscript8-base/files/patch-base_ijs.mak
index 26e407247ede..261878a9c294 100644
--- a/print/ghostscript8-base/files/patch-base-ijs.mak
+++ b/print/ghostscript8-base/files/patch-base_ijs.mak
@@ -1,6 +1,6 @@
---- base/ijs.mak.orig 2012-06-13 02:06:36.000000000 +0900
-+++ base/ijs.mak 2012-06-13 02:07:44.000000000 +0900
-@@ -41,7 +41,7 @@
+--- base/ijs.mak.orig 2007-06-05 22:23:38 UTC
++++ base/ijs.mak
+@@ -41,7 +41,7 @@ IJS_MAK=$(GLSRC)ijs.mak
ijs.clean : ijs.config-clean ijs.clean-not-config-clean
### WRONG. MUST DELETE OBJ AND GEN FILES SELECTIVELY.
@@ -9,7 +9,7 @@
# echo $(IJSSRC) $(IJSGEN) $(IJSOBJ) $(IJSO_)
$(EXP)$(ECHOGS_XE) $(IJSSRC) $(IJSGEN) $(IJSOBJ) $(IJSO_)
$(RM_) $(IJSOBJ)*.$(OBJ)
-@@ -61,7 +61,7 @@
+@@ -61,7 +61,7 @@ ijs_h=$(IJSSRC)ijs.h
ijs_client_h=$(IJSSRC)$(D)ijs_client.h
ijs_server_h=$(IJSSRC)$(D)ijs_server.h
diff --git a/print/ghostscript8-base/files/patch-base-lib.mak b/print/ghostscript8-base/files/patch-base_lib.mak
index 037390f44f0d..7018a89c1edb 100644
--- a/print/ghostscript8-base/files/patch-base-lib.mak
+++ b/print/ghostscript8-base/files/patch-base_lib.mak
@@ -1,6 +1,6 @@
---- base/lib.mak.orig 2009-12-30 07:18:01.000000000 +0900
-+++ base/lib.mak 2015-08-21 20:39:55.003384000 +0900
-@@ -895,7 +895,7 @@
+--- base/lib.mak.orig 2009-12-29 22:18:01 UTC
++++ base/lib.mak
+@@ -895,7 +895,7 @@ $(GLOBJ)gsparam.$(OBJ) : $(GLSRC)gsparam
$(GLOBJ)gsparamx.$(OBJ) : $(GLSRC)gsparamx.c $(string__h)\
$(gserror_h) $(gserrors_h) $(gsmemory_h) $(gsparam_h) $(gsparamx_h)\
$(gstypes_h)
@@ -9,7 +9,7 @@
# Future replacement for gsparams.c
$(GLOBJ)gsparam2.$(OBJ) : $(GLSRC)gsparam2.c $(GXERR) $(memory__h)\
-@@ -2684,12 +2684,12 @@
+@@ -2684,12 +2684,12 @@ $(GLD)shadelib.dev : $(LIB_MAK) $(ECHOGS
# This is used to access compressed, compiled-in support files
gsiorom_h=$(GLSRC)gsiorom.h
romfs_=$(GLOBJ)gsiorom.$(OBJ)
diff --git a/print/ghostscript8-base/files/patch-base-sjpx.c b/print/ghostscript8-base/files/patch-base_sjpx.c
index 761f1423b700..298a5af1bb08 100644
--- a/print/ghostscript8-base/files/patch-base-sjpx.c
+++ b/print/ghostscript8-base/files/patch-base_sjpx.c
@@ -8,10 +8,9 @@ Description: Allows gnu-ghostscript to compile against external libjasper.
is 1.701 which is somewhat old. Forward-ported to 8.64 (the structure of
the file source tree has changed) by km.
-diff -Naur ghostscript-8.64.orig/base/sjpx.c ghostscript-8.64/base/sjpx.c
---- base/sjpx.c 2008-08-21 00:22:49.000000000 +0100
-+++ base/sjpx.c 2009-02-10 21:59:41.000000000 +0000
-@@ -34,14 +34,6 @@
+--- base/sjpx.c.orig 2009-06-18 05:16:48 UTC
++++ base/sjpx.c
+@@ -33,14 +33,6 @@ static void s_jpxd_set_defaults(stream_s
private_st_jpxd_state(); /* creates a gc object for our state,
defined in sjpx.h */
@@ -26,7 +25,7 @@ diff -Naur ghostscript-8.64.orig/base/sjpx.c ghostscript-8.64/base/sjpx.c
/* initialize the steam.
this involves allocating the stream and image structures, and
initializing the decoder.
-@@ -59,7 +51,6 @@
+@@ -58,7 +50,6 @@ s_jpxd_init(stream_state * ss)
}
status = jas_init();
diff --git a/print/ghostscript8-base/files/patch-base-unix-dll.mak b/print/ghostscript8-base/files/patch-base_unix-dll.mak
index 96876e3bfb15..55eef1884d19 100644
--- a/print/ghostscript8-base/files/patch-base-unix-dll.mak
+++ b/print/ghostscript8-base/files/patch-base_unix-dll.mak
@@ -1,6 +1,6 @@
---- base/unix-dll.mak.orig 2009-10-20 05:24:53.000000000 +0900
-+++ base/unix-dll.mak 2010-04-03 12:22:35.000000000 +0900
-@@ -79,12 +79,11 @@
+--- base/unix-dll.mak.orig 2009-10-19 20:24:53 UTC
++++ base/unix-dll.mak
+@@ -79,12 +79,11 @@ $(GS_SO_MAJOR): $(GS_SO_MAJOR_MINOR)
# Build the small Ghostscript loaders, with Gtk+ and without
$(GSSOC_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER)
diff --git a/print/ghostscript8-base/files/patch-base-unix-gcc.mak b/print/ghostscript8-base/files/patch-base_unix-gcc.mak
index 4277ce7ed6c3..5c2ba4321deb 100644
--- a/print/ghostscript8-base/files/patch-base-unix-gcc.mak
+++ b/print/ghostscript8-base/files/patch-base_unix-gcc.mak
@@ -1,5 +1,5 @@
---- base/unix-gcc.mak.orig 2008-10-03 04:33:22.000000000 +0900
-+++ base/unix-gcc.mak 2009-03-29 03:33:35.000000000 +0900
+--- base/unix-gcc.mak.orig 2009-11-11 15:50:28 UTC
++++ base/unix-gcc.mak
@@ -21,15 +21,18 @@
# source, generated intermediate file, and object directories
# for the graphics library (GL) and the PostScript/PDF interpreter (PS).
@@ -27,7 +27,7 @@
# Do not edit the next group of lines.
-@@ -48,11 +51,10 @@
+@@ -48,11 +51,10 @@ PSD=$(PSGENDIR)/
# the directories also define the default search path for the
# initialization files (gs_*.ps) and the fonts.
@@ -42,7 +42,7 @@
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
scriptdir = $(bindir)
-@@ -107,7 +109,7 @@
+@@ -107,7 +109,7 @@ GENOPT=
# -DHAVE_HYPOT
# use the system hypot() call
@@ -51,7 +51,7 @@
# Define the name of the executable file.
-@@ -131,7 +133,7 @@
+@@ -131,7 +133,7 @@ JSRCDIR=jpeg
# some older JPEG streams that violate the standard. If the JPEG
# library built from local sources, the patch will be applied.
@@ -60,7 +60,7 @@
JPEG_NAME=jpeg
# Define the directory where the PNG library sources are stored,
-@@ -145,7 +147,7 @@
+@@ -145,7 +147,7 @@ PNGSRCDIR=libpng
# what its name is.
# See gs.mak and Make.htm for more information.
@@ -68,8 +68,8 @@
+SHARE_LIBPNG=1
LIBPNG_NAME=png
- # Define the directory where the zlib sources are stored.
-@@ -157,7 +159,7 @@
+ LIBTIFF_NAME=tiff
+@@ -159,7 +161,7 @@ ZSRCDIR=zlib
# what its name is (usually libz, but sometimes libgz).
# See gs.mak and Make.htm for more information.
@@ -78,7 +78,7 @@
#ZLIB_NAME=gz
ZLIB_NAME=z
-@@ -166,6 +168,14 @@
+@@ -168,6 +170,14 @@ SHARE_JBIG2=0
JBIG2_LIB=jbig2dec
JBIG2SRCDIR=jbig2dec
@@ -93,7 +93,7 @@
# Define the directory where the icclib source are stored.
# See icclib.mak for more information
-@@ -194,7 +204,7 @@
+@@ -196,7 +206,7 @@ RANLIB=ranlib
# Define the name of the C compiler.
@@ -102,7 +102,7 @@
# Define the name of the linker for the final link step.
# Normally this is the same as the C compiler.
-@@ -211,10 +221,10 @@
+@@ -213,10 +223,10 @@ GCFLAGS=-Wall -Wstrict-prototypes -Wmiss
# Define the added flags for standard, debugging, profiling
# and shared object builds.
@@ -115,7 +115,7 @@
# Define the other compilation flags. Add at most one of the following:
# -DBSD4_2 for 4.2bsd systems.
-@@ -227,7 +237,8 @@
+@@ -229,7 +239,8 @@ CFLAGS_SO=-fPIC -shared
# 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.
@@ -125,7 +125,7 @@
CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS)
-@@ -238,7 +249,7 @@
+@@ -240,7 +251,7 @@ CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(X
# -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.
@@ -134,7 +134,7 @@
LDFLAGS=$(XLDFLAGS)
-@@ -249,7 +260,7 @@
+@@ -251,7 +262,7 @@ LDFLAGS=$(XLDFLAGS)
# Solaris may need -lnsl -lsocket -lposix4.
# (Libraries required by individual drivers are handled automatically.)
@@ -143,7 +143,7 @@
# Define the standard libraries to search at the end of linking.
# Most platforms require -lpthread for the POSIX threads library;
-@@ -271,7 +282,7 @@
+@@ -273,7 +284,7 @@ STDLIBS=-lm
# Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
# not in $(XINCLUDE).
@@ -152,7 +152,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
-@@ -283,28 +294,28 @@
+@@ -285,28 +296,28 @@ XINCLUDE=-I/usr/X11R6/include
# 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
@@ -187,7 +187,7 @@
#FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev
# The following is strictly for testing.
FEATURE_DEVS_ALL=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev $(PSD)rasterop.dev $(PSD)double.dev $(PSD)trapping.dev $(PSD)stocht.dev $(GLD)pipe.dev
-@@ -389,7 +400,7 @@
+@@ -391,7 +402,7 @@ DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet
DEVICE_DEVS21=$(DD)spotcmyk.dev $(DD)devicen.dev $(DD)xcf.dev $(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)bmp16m.dev $(DD)bmp32b.dev $(DD)psdcmyk.dev $(DD)psdrgb.dev $(DD)pamcmyk32.dev
# Shared library target to build.
@@ -196,9 +196,9 @@
#GS_SHARED_OBJS=$(GLOBJDIR)/X11.so
# ---------------------------- End of options --------------------------- #
-@@ -429,6 +440,9 @@
- include $(GLSRCDIR)/zlib.mak
+@@ -432,6 +443,9 @@ include $(GLSRCDIR)/zlib.mak
include $(GLSRCDIR)/libpng.mak
+ include $(GLSRCDIR)/libtiff.mak
include $(GLSRCDIR)/jbig2.mak
+include $(GLSRCDIR)/jasper.mak
+include $(GLSRCDIR)/ldf_jb2.mak
@@ -206,7 +206,7 @@
include $(GLSRCDIR)/icclib.mak
include $(GLSRCDIR)/ijs.mak
include $(GLSRCDIR)/devs.mak
-@@ -438,6 +452,7 @@
+@@ -441,6 +455,7 @@ include $(GLSRCDIR)/unixlink.mak
include $(GLSRCDIR)/unix-dll.mak
include $(GLSRCDIR)/unix-end.mak
include $(GLSRCDIR)/unixinst.mak
diff --git a/print/ghostscript8-base/files/patch-base-unixinst.mak b/print/ghostscript8-base/files/patch-base_unixinst.mak
index 4f6006f3a9a8..db0680a3a156 100644
--- a/print/ghostscript8-base/files/patch-base-unixinst.mak
+++ b/print/ghostscript8-base/files/patch-base_unixinst.mak
@@ -1,6 +1,6 @@
---- base/unixinst.mak.orig 2009-11-19 09:09:15.000000000 +0900
-+++ base/unixinst.mak 2014-11-23 17:40:46.000000000 +0900
-@@ -44,7 +44,7 @@
+--- base/unixinst.mak.orig 2009-11-19 00:09:15 UTC
++++ base/unixinst.mak
+@@ -44,7 +44,7 @@ ps2ascii ps2epsi ps2pdf ps2pdf12 ps2pdf1
wftopfa fixmswrd.pl lprsetup.sh pj-gs.sh pv.sh sysvlp.sh unix-lpr.sh ;\
do if ( test -f $(PSLIBDIR)/$$f ); then \
(cat $(PSLIBDIR)/$$f | sed -e "s/GS_EXECUTABLE=gs/GS_EXECUTABLE=$(GS)/" > $(PSOBJDIR)/$$f); \
@@ -9,7 +9,7 @@
fi;\
done'
-@@ -128,7 +128,7 @@
+@@ -128,7 +128,7 @@ install-doc: $(PSDOCDIR)/News.htm
done'
# install the man pages for each locale
diff --git a/print/ghostscript8-base/files/patch-contrib-contrib.mak b/print/ghostscript8-base/files/patch-contrib_contrib.mak
index f255865761a5..8476d2af847a 100644
--- a/print/ghostscript8-base/files/patch-contrib-contrib.mak
+++ b/print/ghostscript8-base/files/patch-contrib_contrib.mak
@@ -1,6 +1,6 @@
---- contrib/contrib.mak.orig 2012-06-13 01:22:12.000000000 +0900
-+++ contrib/contrib.mak 2012-06-13 01:22:40.000000000 +0900
-@@ -956,7 +956,7 @@
+--- contrib/contrib.mak.orig 2009-07-27 16:59:50 UTC
++++ contrib/contrib.mak
+@@ -956,7 +956,7 @@ $(DD)dmprt.dev : $(dmprt_) $(DD)page.dev
$(GLOBJ)gdevdmpr.$(OBJ) : $(JAPSRC)gdevdmpr.c $(JAPSRC)dviprlib.h $(PDEVH)
$(GLCC) $(O_)$@ $(C_) $(JAPSRC)gdevdmpr.c
diff --git a/print/ghostscript8-base/files/patch-contrib__japanese__dmp_site.ps b/print/ghostscript8-base/files/patch-contrib_japanese_dmp__site.ps
index 472e54c82318..7c36f32ac809 100644
--- a/print/ghostscript8-base/files/patch-contrib__japanese__dmp_site.ps
+++ b/print/ghostscript8-base/files/patch-contrib_japanese_dmp__site.ps
@@ -1,5 +1,5 @@
---- contrib/japanese/dmp_site.ps.orig 2007-05-09 07:00:10.000000000 +0900
-+++ contrib/japanese/dmp_site.ps 2015-08-21 19:15:38.311336000 +0900
+--- contrib/japanese/dmp_site.ps.orig 2007-05-08 22:00:10 UTC
++++ contrib/japanese/dmp_site.ps
@@ -1,7 +1,7 @@
%!
BeginConfig
diff --git a/print/ghostscript8-base/files/patch-contrib__japanese__gdevdmpr.c b/print/ghostscript8-base/files/patch-contrib_japanese_gdevdmpr.c
index 1e6c3261d464..0c048042a441 100644
--- a/print/ghostscript8-base/files/patch-contrib__japanese__gdevdmpr.c
+++ b/print/ghostscript8-base/files/patch-contrib_japanese_gdevdmpr.c
@@ -1,5 +1,5 @@
---- contrib/japanese/gdevdmpr.c.orig Thu Apr 26 01:27:24 2007
-+++ contrib/japanese/gdevdmpr.c Tue May 15 01:44:09 2007
+--- contrib/japanese/gdevdmpr.c.orig 2007-09-25 13:31:24 UTC
++++ contrib/japanese/gdevdmpr.c
@@ -41,8 +41,6 @@
/* include library header. */
#include "dviprlib.h"
@@ -9,7 +9,7 @@
#define LOCAL_DEBUG 0
#define DEVICE_NAME "dmprt"
-@@ -405,8 +403,6 @@
+@@ -405,8 +403,6 @@ gdev_dmprt_put_params(gx_device *pdev, g
if (pddev->dmprt.max_height>0 && pddev->dmprt.max_height<pddev->height)
pddev->height = pddev->dmprt.max_height;
@@ -18,7 +18,7 @@
return code;
}
-@@ -425,8 +421,6 @@
+@@ -425,8 +421,6 @@ gdev_dmprt_put_dmprt_params(gx_device *p
if (code < 0) return code;
if (code == 0) pddev->dmprt.debug_f = vbool;
@@ -27,7 +27,7 @@
code = param_read_bool(plist, "Verbose", &vbool);
if (code < 0) return code;
pddev->dmprt.verbose_f = vbool;
-@@ -841,13 +835,12 @@
+@@ -841,13 +835,12 @@ gdev_dmprt_dviprt_lib_fopen(const char *
char *env;
strcpy(fname,fnamebase);
diff --git a/print/ghostscript8-base/files/patch-lips:gdevlips.c b/print/ghostscript8-base/files/patch-contrib_lips4_gdevlips.c
index 95f8b06f4841..7605c0d7236b 100644
--- a/print/ghostscript8-base/files/patch-lips:gdevlips.c
+++ b/print/ghostscript8-base/files/patch-contrib_lips4_gdevlips.c
@@ -1,6 +1,6 @@
---- contrib/lips4/gdevlips.c.orig Thu Nov 2 12:09:18 2000
-+++ contrib/lips4/gdevlips.c Tue Jan 13 01:23:47 2004
-@@ -62,7 +62,15 @@
+--- contrib/lips4/gdevlips.c.orig 2007-09-25 13:31:24 UTC
++++ contrib/lips4/gdevlips.c
+@@ -62,7 +62,15 @@ lips_media_selection(int width, int heig
height = tmp;
}
for (pt = lips_paper_table; pt->num_unit < 80; pt++)
diff --git a/print/ghostscript8-base/files/patch-lips:gdevlips.h b/print/ghostscript8-base/files/patch-contrib_lips4_gdevlips.h
index b3520ba1ac33..d52e8efd138b 100644
--- a/print/ghostscript8-base/files/patch-lips:gdevlips.h
+++ b/print/ghostscript8-base/files/patch-contrib_lips4_gdevlips.h
@@ -1,8 +1,8 @@
---- contrib/lips4/gdevlips.h.orig Thu Nov 2 12:09:18 2000
-+++ contrib/lips4/gdevlips.h Tue Jan 13 01:23:47 2004
-@@ -188,6 +188,14 @@
+--- contrib/lips4/gdevlips.h.orig 2007-05-08 22:00:10 UTC
++++ contrib/lips4/gdevlips.h
+@@ -191,6 +191,14 @@
bool faceup;\
- char mediaType[LIPS_MEDIACHAR_MAX];
+ char mediaType[LIPS_MEDIACHAR_MAX]
+/* added by shige 11/06 2003 */
+#define USE_LIPS_SIZE_ERROR
diff --git a/print/ghostscript8-base/files/patch-epag-ert.c b/print/ghostscript8-base/files/patch-epag-3.09_ert.c
index f063aeddabc2..d4395ca747a5 100644
--- a/print/ghostscript8-base/files/patch-epag-ert.c
+++ b/print/ghostscript8-base/files/patch-epag-3.09_ert.c
@@ -1,5 +1,5 @@
---- epag-3.09/ert.c.orig 2000-07-08 13:33:09.000000000 +0900
-+++ epag/ert.c 2012-02-13 03:38:07.000000000 +0900
+--- epag-3.09/ert.c.orig 2000-07-08 04:33:09 UTC
++++ epag-3.09/ert.c
@@ -1,6 +1,8 @@
/* $Id: ert.c,v 1.3 1998/11/20 10:51:12 nari Exp $ */
diff --git a/print/ghostscript8-base/files/patch-epag__gdevepag.c b/print/ghostscript8-base/files/patch-epag-3.09_gdevepag.c
index 6012768b4d9c..f4d3f11e7b8c 100644
--- a/print/ghostscript8-base/files/patch-epag__gdevepag.c
+++ b/print/ghostscript8-base/files/patch-epag-3.09_gdevepag.c
@@ -1,6 +1,6 @@
---- epag/gdevepag.c.orig Sat Jul 8 13:33:09 2000
-+++ epag/gdevepag.c Sat Nov 24 15:25:11 2007
-@@ -102,30 +102,30 @@
+--- epag-3.09/gdevepag.c.orig 2000-07-08 04:33:09 UTC
++++ epag-3.09/gdevepag.c
+@@ -102,30 +102,30 @@ typedef struct _epagBubble{
} EpagBubble;
/* The device descriptors */
@@ -50,7 +50,7 @@
prn_params_procs(epag_open, gdev_prn_output_page, epag_close,
epag_get_params, epag_put_params);
gx_device_printer far_data gs_epag_device =
-@@ -140,13 +140,13 @@
+@@ -140,13 +140,13 @@ prn_device(prn_epag_procs, "epag",
static char *epson_remote_start = "\033\001@EJL \r\n";
/* Open the printer, adjusting the margins if necessary. */
@@ -66,7 +66,7 @@
epag_close(gx_device *pdev)
{
gdev_prn_open_printer(pdev, 1);
-@@ -163,7 +163,7 @@
+@@ -163,7 +163,7 @@ epag_close(gx_device *pdev)
return gdev_prn_close(pdev);
}
@@ -75,7 +75,7 @@
epag_print_page(gx_device_printer *pdev, FILE *fp)
{
EpagPageCont cont;
-@@ -205,7 +205,7 @@
+@@ -205,7 +205,7 @@ static char can_inits[] ={
GS, '2', 'a', 'b', 'P', /* イメージ描画後下へ */
};
@@ -84,7 +84,7 @@
epag_printer_initialize(gx_device_printer *pdev, FILE *fp, int copies)
{
double xDpi,yDpi;
-@@ -260,7 +260,7 @@
+@@ -260,7 +260,7 @@ epag_printer_initialize(gx_device_printe
fprintf(fp,"%c%dcoO",GS, copies < 256 ? copies : 255);
}
@@ -93,7 +93,7 @@
epag_get_params(gx_device *pdev, gs_param_list *plist)
{
int code;
-@@ -286,7 +286,7 @@
+@@ -286,7 +286,7 @@ epag_get_params(gx_device *pdev, gs_para
}
/* Put properties. */
@@ -102,7 +102,7 @@
epag_put_params(gx_device *pdev, gs_param_list *plist)
{
param_read_int(plist, "cRowBuf", &epag_cont.cRowBuf);
-@@ -380,7 +380,7 @@
+@@ -380,7 +380,7 @@ void epag_paper_set(gx_device_printer *p
/*
* epag_bubble_flush_all: 残っている bubbleを全て出力する。
*/
@@ -111,7 +111,7 @@
{
int i;
-@@ -392,7 +392,7 @@
+@@ -392,7 +392,7 @@ private void epag_bubble_flush_all(EpagP
/*
* epag_page_cont_init: EpagPageContの初期化、バッファ確保等
*/
@@ -120,7 +120,7 @@
EpagPageCont *cont)
{
int bpl;
-@@ -417,15 +417,15 @@
+@@ -417,15 +417,15 @@ private void epag_page_cont_init(gx_devi
cont->maxY = epag_cont.cRowBuf / cont->bh * cont->bh ;
if(cont->maxY < cont->bh) cont->maxY = cont->bh;
@@ -140,7 +140,7 @@
bbtbl = (EpagBubble *)cont->bubbleBuffer;
for(i=0;i<cont->maxBx-1;i++)
bbtbl[i].next = &bbtbl[i+1];
-@@ -433,15 +433,15 @@
+@@ -433,15 +433,15 @@ private void epag_page_cont_init(gx_devi
cont->freeBubbleList = &bbtbl[0];
}
@@ -161,7 +161,7 @@
epag_read_image(EpagPageCont *cont)
{
int bh = cont->bh;
-@@ -473,7 +473,7 @@
+@@ -473,7 +473,7 @@ epag_read_image(EpagPageCont *cont)
/*
* bh行分のラスターデータを処理する
*/
@@ -170,7 +170,7 @@
epag_process_line(EpagPageCont *cont)
{
int bh = cont->bh;
-@@ -502,7 +502,7 @@
+@@ -502,7 +502,7 @@ epag_process_line(EpagPageCont *cont)
else epag_rect_add(cont, 0, cont->maxBx-1);
}
@@ -179,7 +179,7 @@
epag_is_black(EpagPageCont *cont, int bx)
{
int bh = cont->bh;
-@@ -520,7 +520,7 @@
+@@ -520,7 +520,7 @@ epag_is_black(EpagPageCont *cont, int bx
return 0;
}
@@ -188,7 +188,7 @@
epag_rect_add(EpagPageCont *cont,int start,int end)
{
int x0 = start * cont->bw;
-@@ -544,7 +544,7 @@
+@@ -544,7 +544,7 @@ epag_rect_add(EpagPageCont *cont,int sta
}
}
@@ -197,7 +197,7 @@
epag_bubble_gen(EpagPageCont *cont, int x0, int x1, int y0, int y1)
{
EpagBubble *bbl;
-@@ -569,7 +569,7 @@
+@@ -569,7 +569,7 @@ epag_bubble_gen(EpagPageCont *cont, int
}
}
@@ -206,7 +206,7 @@
{
int bx,bx0,bx1;
-@@ -588,7 +588,7 @@
+@@ -588,7 +588,7 @@ private void epag_bubble_flush(EpagPageC
/* イメージを出力 */
diff --git a/print/ghostscript8-base/files/patch-lib-FAPIcidfmap b/print/ghostscript8-base/files/patch-lib_FAPIcidfmap
index 156c3e8458f2..b897b30dd0bc 100644
--- a/print/ghostscript8-base/files/patch-lib-FAPIcidfmap
+++ b/print/ghostscript8-base/files/patch-lib_FAPIcidfmap
@@ -1,5 +1,5 @@
---- lib/FAPIcidfmap.orig 2006-06-01 00:29:52.000000000 +0900
-+++ lib/FAPIcidfmap 2009-05-15 03:27:31.000000000 +0900
+--- lib/FAPIcidfmap.orig 2006-05-31 15:29:52 UTC
++++ lib/FAPIcidfmap
@@ -29,4 +29,59 @@
%
% /Ryumin-Medium << /Path (msgothic.ttc) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
diff --git a/print/ghostscript8-base/files/patch-lib-FAPIconfig b/print/ghostscript8-base/files/patch-lib_FAPIconfig
index f72f2fd9a6c0..f54370144a3e 100644
--- a/print/ghostscript8-base/files/patch-lib-FAPIconfig
+++ b/print/ghostscript8-base/files/patch-lib_FAPIconfig
@@ -1,5 +1,5 @@
---- lib/FAPIconfig.orig 2008-03-04 06:50:24.000000000 +0900
-+++ lib/FAPIconfig 2008-03-04 06:51:30.000000000 +0900
+--- lib/FAPIconfig.orig 2006-06-20 16:31:15 UTC
++++ lib/FAPIconfig
@@ -2,10 +2,14 @@
% $Id: FAPIconfig 6870 2006-06-20 16:31:15Z leonardo $
% This is configuration file for FAPI client.
diff --git a/print/ghostscript8-base/files/patch-lib-pdf2dsc.ps b/print/ghostscript8-base/files/patch-lib_pdf2dsc.ps
index dab7f7a1b84c..37ea16ef3dc7 100644
--- a/print/ghostscript8-base/files/patch-lib-pdf2dsc.ps
+++ b/print/ghostscript8-base/files/patch-lib_pdf2dsc.ps
@@ -1,6 +1,6 @@
---- lib/pdf2dsc.ps.orig 2011-05-24 05:26:51.000000000 +0900
-+++ lib/pdf2dsc.ps 2011-05-24 05:27:14.000000000 +0900
-@@ -116,7 +116,7 @@
+--- lib/pdf2dsc.ps.orig 2008-02-25 05:48:45 UTC
++++ lib/pdf2dsc.ps
+@@ -116,7 +116,7 @@ systemdict /.setsafe known { .setsafe }
DSCfile PDFname write==only
( \(r\) file { DELAYSAFER { .setsafe } if } stopped pop\n) puts
( pdfopen begin\n) puts
diff --git a/print/ghostscript8-base/files/patch-libpng15 b/print/ghostscript8-base/files/patch-libpng15
index dca4f07607f7..ecd768102da0 100644
--- a/print/ghostscript8-base/files/patch-libpng15
+++ b/print/ghostscript8-base/files/patch-libpng15
@@ -2,7 +2,7 @@ $NetBSD: patch-ak,v 1.5 2011/01/15 14:08:10 wiz Exp $
Fix build with png-1.5. From John Bowler.
---- base/gdevpng.c.orig 2008-07-17 02:34:01.000000000 +0000
+--- base/gdevpng.c.orig 2008-07-17 02:34:01 UTC
+++ base/gdevpng.c
@@ -36,12 +36,14 @@
#include "gdevpccm.h"
diff --git a/print/ghostscript8-base/files/patch-psi-zicc.c b/print/ghostscript8-base/files/patch-psi_zicc.c
index 98c4eed85c37..f03847458a5a 100644
--- a/print/ghostscript8-base/files/patch-psi-zicc.c
+++ b/print/ghostscript8-base/files/patch-psi_zicc.c
@@ -1,8 +1,8 @@
---- psi/zicc.c
-+++ psi/zicc.c 2008-02-05 16:11:59.000000000 +0000
-@@ -77,6 +77,9 @@ zseticcspace(i_ctx_t * i_ctx_p)
- dict_find_string(op, "N", &pnval);
- ncomps = pnval->value.intval;
+--- psi/zicc.c.orig 2009-01-21 15:34:55 UTC
++++ psi/zicc.c
+@@ -161,6 +161,9 @@ zseticcspace(i_ctx_t * i_ctx_p)
+ if (2*ncomps > sizeof(range_buff)/sizeof(range_buff[0]))
+ return_error(e_rangecheck);
+ if (2*ncomps > sizeof(range_buff)/sizeof(float))
+ return_error(e_rangecheck);