On Fri, Feb 15, 2013 at 11:21:41AM +0000, Martin Crossley wrote: > > The diff below should fix it (on -current). It makes sure that the > > cups driver is compiled with the same value for GX_COLOR_INDEX_TYPE > > as everything else. > > You, sir, rock. > > Successfully tested on 5.3/i386 current (snapshot 8 Feb) with > ghostscript 9.06 (flavor 'a4').
Thanks for testing. > Out of interest will also go and check whether this fixes 9.05. See diff below. > Will this make it into 5.3 release do you think? This is such good > news. It will unbreak printing for a lot of people on 32bit. I already have an ok from aja@, but I'd like to get a second ok. Ciao, Kili ps: diff for stable: Index: Makefile =================================================================== RCS file: /var/cvs/OpenBSD/ports/print/ghostscript/gnu/Makefile,v retrieving revision 1.91 diff -u -p -r1.91 Makefile --- Makefile 11 Jul 2012 10:26:31 -0000 1.91 +++ Makefile 14 Feb 2013 18:50:15 -0000 @@ -4,6 +4,7 @@ COMMENT= GNU PostScript interpreter VERSION= 9.05 DISTNAME= ghostscript-${VERSION} +REVISION= 0 CATEGORIES= print lang SHARED_LIBS= gs 15.0 Index: patches/patch-base_devs_mak =================================================================== RCS file: /var/cvs/OpenBSD/ports/print/ghostscript/gnu/patches/patch-base_devs_mak,v retrieving revision 1.4 diff -u -p -r1.4 patch-base_devs_mak --- patches/patch-base_devs_mak 11 Jul 2012 10:26:31 -0000 1.4 +++ patches/patch-base_devs_mak 14 Feb 2013 18:44:25 -0000 @@ -1,6 +1,6 @@ $OpenBSD: patch-base_devs_mak,v 1.4 2012/07/11 10:26:31 kili Exp $ --- base/devs.mak.orig Wed Feb 8 09:48:48 2012 -+++ base/devs.mak Sun Jul 8 15:50:17 2012 ++++ base/devs.mak Thu Feb 14 19:38:46 2013 @@ -1828,14 +1828,11 @@ $(DD)plibk.dev : $(DEVS_MAK) $(plib_) $(GLD)page.dev $ $(SETPDEV2) $(DD)plibk $(plib_) @@ -19,4 +19,4 @@ $OpenBSD: patch-base_devs_mak,v 1.4 2012 $(GLOBJ)gdevcups.$(OBJ) : cups$(D)gdevcups.c $(std_h) - $(CUPS_CC) $(GLO_)gdevcups.$(OBJ) $(C_) $(CFLAGS) $(I_)$(GLSRC) $(I_)$(GLOBJ) $(I_)$(LCUPSSRCDIR)$(D)libs $(LCUPSSRCDIR)$(D)gdevcups.c -+ $(CUPS_CC) $(GLO_)gdevcups.$(OBJ) $(C_) $(CFLAGS) $(I_)$(GLSRC) $(I_)$(GLOBJ) cups$(D)gdevcups.c ++ $(CUPS_CC) $(GLO_)gdevcups.$(OBJ) $(C_) $(CCFLAGS) $(I_)$(GLSRC) $(I_)$(GLOBJ) cups$(D)gdevcups.c