summaryrefslogtreecommitdiffstats
path: root/print/ghostscript-gnu/files/patch-src:smartgdi-contrib.mak
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-07-21 13:41:52 +0000
committerarved <arved@FreeBSD.org>2003-07-21 13:41:52 +0000
commit02884ac811c03c676cabce6a3e23f4898db6e0c3 (patch)
tree3c8b8e19273c2e892800c3341115e550a6829cd7 /print/ghostscript-gnu/files/patch-src:smartgdi-contrib.mak
parentbea115488bec51057af2dcc329e4da997463d650 (diff)
downloadFreeBSD-ports-02884ac811c03c676cabce6a3e23f4898db6e0c3.zip
FreeBSD-ports-02884ac811c03c676cabce6a3e23f4898db6e0c3.tar.gz
Backout my previous commit and reenable .SILENT instead.
Take measures to cope with too frequent update (without version numbering) of Samsung-SmartGDI driver PR: 54708 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'print/ghostscript-gnu/files/patch-src:smartgdi-contrib.mak')
-rw-r--r--print/ghostscript-gnu/files/patch-src:smartgdi-contrib.mak16
1 files changed, 16 insertions, 0 deletions
diff --git a/print/ghostscript-gnu/files/patch-src:smartgdi-contrib.mak b/print/ghostscript-gnu/files/patch-src:smartgdi-contrib.mak
new file mode 100644
index 0000000..3b832da
--- /dev/null
+++ b/print/ghostscript-gnu/files/patch-src:smartgdi-contrib.mak
@@ -0,0 +1,16 @@
+--- src/smartgdi-contrib.mak.orig Wed Jun 19 21:43:43 2002
++++ src/smartgdi-contrib.mak Mon Jul 21 13:59:00 2003
+@@ -3,10 +3,12 @@
+ ### Note : this driver is used by Samsung SmartGDI compatible printers. ###
+ ###
+
++gdi_opts=-DGS_VERSION_MAJOR=$(GS_VERSION_MAJOR)
++
+ GDIMONO=$(GLOBJ)gdevgdi.$(OBJ) $(HPPCL)
+
+ $(DD)gdi.dev: $(GDIMONO) $(DD)page.dev
+ $(SETPDEV) $(DD)gdi $(GDIMONO)
+
+ $(GLOBJ)gdevgdi.$(OBJ): $(GLSRC)gdevgdi.c $(PDEVH) $(gdevpcl_h)
+- $(GLCC) $(GLO_)gdevgdi.$(OBJ) $(C_) $(GLSRC)gdevgdi.c
++ $(GLCC) $(GLO_)gdevgdi.$(OBJ) $(C_) $(gdi_opts) $(GLSRC)gdevgdi.c
OpenPOWER on IntegriCloud