# HG changeset patch # User John Donoghue # Date 1428319877 14400 # Node ID d5936b3095a5dca2e21e2eaf7800896f1719c345 # Parent fa5b1ddfeb46042218869567cbbe4fadd6599dc7 ghostscript: update to v9.16 * src/ghostscript.mk: update version, checksum. * src/mingw-ghostscript-1-win.patch: removed file * dist-files.mk: remove ref to mingw-ghostscript-1-win.patch diff -r fa5b1ddfeb46 -r d5936b3095a5 dist-files.mk --- a/dist-files.mk Fri Apr 03 16:03:41 2015 -0400 +++ b/dist-files.mk Mon Apr 06 07:31:17 2015 -0400 @@ -319,7 +319,6 @@ mingw-cfitsio-1-fixes.patch \ mingw-epstool-1-fixes.patch \ mingw-fontconfig-ln_s.patch \ - mingw-ghostscript-1-win.patch \ mingw-glib-1-fixes.patch \ mingw-glib-2-fixes.patch \ mingw-hdf5-1.patch \ diff -r fa5b1ddfeb46 -r d5936b3095a5 src/ghostscript.mk --- a/src/ghostscript.mk Fri Apr 03 16:03:41 2015 -0400 +++ b/src/ghostscript.mk Mon Apr 06 07:31:17 2015 -0400 @@ -3,8 +3,8 @@ PKG := ghostscript $(PKG)_IGNORE := -$(PKG)_VERSION := 9.15 -$(PKG)_CHECKSUM := f53bcc47e912c7bffc2ced62ed9311376fb18bab +$(PKG)_VERSION := 9.16 +$(PKG)_CHECKSUM := cc06fbf8244b9e8d0694cee5bf3be5bdd444b888 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://downloads.ghostscript.com/public/$($(PKG)_FILE) @@ -58,7 +58,6 @@ ## mingw native build. ifeq ($(ENABLE_64),yes) define $(PKG)_BUILD - mv '$(1)/zlib' '$(1)/zlib.x' mv '$(1)/freetype' '$(1)/freetype.x' cp '$(TOP_DIR)/src/ghostscript-mingw-x86_64-makefile' '$(1)/Makefile' $(MAKE) -C '$(1)' TARGET='$(TARGET)' prefix='$(HOST_PREFIX)' obj/arch.h obj/gconfig_.h @@ -72,7 +71,6 @@ endef else define $(PKG)_BUILD - mv '$(1)/zlib' '$(1)/zlib.x' mv '$(1)/freetype' '$(1)/freetype.x' cp '$(TOP_DIR)/src/ghostscript-mingw-i686-makefile' '$(1)/Makefile' $(MAKE) -C '$(1)' TARGET='$(TARGET)' prefix='$(HOST_PREFIX)' obj/arch.h obj/gconfig_.h diff -r fa5b1ddfeb46 -r d5936b3095a5 src/mingw-ghostscript-1-win.patch --- a/src/mingw-ghostscript-1-win.patch Fri Apr 03 16:03:41 2015 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -diff -ur ghostscript-9.15.orig/base/gp_unifn.c ghostscript-9.15/base/gp_unifn.c ---- ghostscript-9.15.orig/base/gp_unifn.c 2015-02-16 07:47:31.050998971 -0500 -+++ ghostscript-9.15/base/gp_unifn.c 2015-02-16 07:48:50.582467223 -0500 -@@ -25,7 +25,11 @@ - - /* Define the string to be concatenated with the file mode */ - /* for opening files without end-of-line conversion. */ -+#if (defined(__MINGW32__) && __MINGW32__ == 1) || (defined(__CYGWIN__) && __CYGWIN__ == 1) -+const char gp_fmode_binary_suffix[] = "b"; -+#else - const char gp_fmode_binary_suffix[] = ""; -+#endif - - /* Define the file modes for binary reading or writing. */ - #if (defined(__MINGW32__) && __MINGW32__ == 1) || (defined(__CYGWIN__) && __CYGWIN__ == 1)