summaryrefslogtreecommitdiff
path: root/print/ghostscript7-base/files/patch-src-gnudevs.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/ghostscript7-base/files/patch-src-gnudevs.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.
Notes
Notes: svn path=/head/; revision=395047
Diffstat (limited to 'print/ghostscript7-base/files/patch-src-gnudevs.mak')
-rw-r--r--print/ghostscript7-base/files/patch-src-gnudevs.mak67
1 files changed, 67 insertions, 0 deletions
diff --git a/print/ghostscript7-base/files/patch-src-gnudevs.mak b/print/ghostscript7-base/files/patch-src-gnudevs.mak
new file mode 100644
index 000000000000..d6e15432bf52
--- /dev/null
+++ b/print/ghostscript7-base/files/patch-src-gnudevs.mak
@@ -0,0 +1,67 @@
+--- src/gnudevs.mak.orig 2003-02-10 03:12:48.000000000 +0900
++++ src/gnudevs.mak 2015-08-22 00:20:45.754922000 +0900
+@@ -66,64 +66,6 @@
+ $(DD)sxlcrt.dev : $(sxlcrt_) $(DD)page.dev
+ $(SETPDEV) $(DD)sxlcrt $(sxlcrt_)
+
+-
+-### -------------------- Gimp-Print (stp) driver -------------------###
+-
+-# To include this driver add '$(DD)stp.dev' to your DEVICE_DEVS
+-# line and define 'STPLIB=gimpprint' in your top-level makefile.
+-# See http://gimp-print.sourceforge.net/ for more information.
+-
+-stp_=$(GLOBJ)gdevstp.$(OBJ)
+-
+-$(DD)stp.dev : $(stp_) $(DD)page.dev
+- $(SETPDEV) $(DD)stp $(stp_)
+- $(ADDMOD) $(DD)stp -lib $(STPLIB)
+-
+-$(GLOBJ)gdevstp.$(OBJ) : $(GLSRC)gdevstp.c \
+- $(gdevprn_h) $(gdevpccm_h) $(gsparam_h)
+- $(GLCC) $(GLO_)gdevstp.$(OBJ) $(C_) $(GLSRC)gdevstp.c
+-
+-
+-### -------------- cdj850 - HP 850c Driver under development ------------- ###
+-
+-cdeskjet8_=$(GLOBJ)gdevcd8.$(OBJ) $(HPPCL)
+-
+-# Author: Uli Wortmann (uliw@erdw.ethz.ch), Martin Gerbershagen (ger@ulm.temic.de)
+-# Printer: HP 670
+-$(DD)cdj670.dev : $(cdeskjet8_) $(DD)page.dev
+- $(SETPDEV2) $(DD)cdj670 $(cdeskjet8_)
+-
+-# Author: Uli Wortmann (uliw@erdw.ethz.ch)
+-# Printer: HP 850
+-$(DD)cdj850.dev : $(cdeskjet8_) $(DD)page.dev
+- $(SETPDEV2) $(DD)cdj850 $(cdeskjet8_)
+-
+-# Author: Uli Wortmann (uliw@erdw.ethz.ch), Martin Gerbershagen (ger@ulm.temic.de)
+-# Printer: HP 890
+-$(DD)cdj890.dev : $(cdeskjet8_) $(DD)page.dev
+- $(SETPDEV2) $(DD)cdj890 $(cdeskjet8_)
+-
+-# Author: Uli Wortmann (uliw@erdw.ethz.ch), Martin Gerbershagen (ger@ulm.temic.de)
+-# Printer: HP 1600
+-$(DD)cdj1600.dev : $(cdeskjet8_) $(DD)page.dev
+- $(SETPDEV2) $(DD)cdj1600 $(cdeskjet8_)
+-
+-$(GLOBJ)gdevcd8.$(OBJ) : $(GLSRC)gdevcd8.c $(PDEVH) $(math__h)\
+- $(gsparam_h) $(gxlum_h) $(gdevpcl_h)
+- $(GLCC) $(GLO_)gdevcd8.$(OBJ) $(C_) $(GLSRC)gdevcd8.c
+-
+-### -------------- cdj880 - HP 880c Driver under development ------------- ###
+-### Since this driver is in the development phase it is not distributed ###
+-### with Ghostscript, but is available from ###
+-### http://www.proaxis.com/~mgelhaus/linux/software/hp880c/hp880c.html ###
+-
+-### NOTE: Depends on the presence of the cdj850 section above. ###
+-
+-# Author: Matthew Gelhaus (mgelhaus@proaxis.com)
+-# Printer: HP 880c
+-$(DD)cdj880.dev : $(cdeskjet8_) $(DD)page.dev
+- $(SETPDEV2) $(DD)cdj880 $(cdeskjet8_)
+-
+ ### ------------- cdj970 - HP 970Cxi Driver under development ------------- ###
+
+ cdeskjet9_=$(GLOBJ)gdevdj9.$(OBJ) $(HPPCL)