summaryrefslogtreecommitdiff
path: root/print/ghostscript8-base/files/patch-base-lib.mak
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2015-08-22 17:48:35 +0000
committerHiroki Sato <hrs@FreeBSD.org>2015-08-22 17:48:35 +0000
commit27470e1676e69455acf06ae25ebd42ebd5bdecdb (patch)
tree445c3e315f03aa972de87391f921c655e4634f60 /print/ghostscript8-base/files/patch-base-lib.mak
parentRemove textproc/prosper. The latest version is included in (diff)
- Split ghostscript into X11-independent and -dependent parts:
* print/ghostscript{7,8,9,9-agpl}-base Installs Ghostscript binary, libgs, and related files. These ports do not depend on X11 libraries (i.e. x11* devices are not available). USES=ghostscript will set dependency on one of them depending on GHOSTSCRIPT_DEFAULT. The default device is set to "display" or "bbox". * print/ghostscript{7,8,9,9-agpl}-x11 Installs a shared library which provides X11 support to the installed Ghostscript binaries. x11* devices will be enabled when the library is available. This depends on *-base (RUN_DEPENDS). USES=ghostscript:x11 will set dependency on one of them. - Fix integer overflow reported as CVE-2015-3228. - Update Uses/ghostscript.mk: * Add x11 keyword. nox11 keyword is now obsolete. * Use packagename in *_DEPENDS line to prevent relationship between -base and -x11 packages from being broken. - Fix x11/nox11 keyword and bump PORTREVISION in ports using USES=ghostscript to update dependency of pre-compiled packages.
Diffstat (limited to 'print/ghostscript8-base/files/patch-base-lib.mak')
-rw-r--r--print/ghostscript8-base/files/patch-base-lib.mak26
1 files changed, 26 insertions, 0 deletions
diff --git a/print/ghostscript8-base/files/patch-base-lib.mak b/print/ghostscript8-base/files/patch-base-lib.mak
new file mode 100644
index 000000000000..037390f44f0d
--- /dev/null
+++ b/print/ghostscript8-base/files/patch-base-lib.mak
@@ -0,0 +1,26 @@
+--- 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 @@
+ $(GLOBJ)gsparamx.$(OBJ) : $(GLSRC)gsparamx.c $(string__h)\
+ $(gserror_h) $(gserrors_h) $(gsmemory_h) $(gsparam_h) $(gsparamx_h)\
+ $(gstypes_h)
+- $(GLCC) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c
++ $(GLCCSHARED) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c
+
+ # Future replacement for gsparams.c
+ $(GLOBJ)gsparam2.$(OBJ) : $(GLSRC)gsparam2.c $(GXERR) $(memory__h)\
+@@ -2684,12 +2684,12 @@
+ # This is used to access compressed, compiled-in support files
+ gsiorom_h=$(GLSRC)gsiorom.h
+ romfs_=$(GLOBJ)gsiorom.$(OBJ)
+-$(GLD)romfs1.dev : $(LIB_MAK) $(ECHO_XE) $(romfs_)
++$(GLD)romfs1.dev : $(LIB_MAK) $(ECHOGS_XE) $(romfs_)
+ $(SETMOD) $(GLD)romfs1 $(romfs_)
+ $(ADDMOD) $(GLD)romfs1 -iodev rom
+
+ # A dummy romfs when we aren't using COMPILE_INITS
+-$(GLD)romfs0.dev : $(LIB_MAK) $(ECHO_XE)
++$(GLD)romfs0.dev : $(LIB_MAK) $(ECHOGS_XE)
+ $(SETMOD) $(GLD)romfs0
+
+ $(GLGEN)gsromfs1.c : $(MKROMFS_XE) $(PS_ROMFS_DEPS)