? print/ghostscript/work Index: print/ghostscript/Makefile =================================================================== RCS file: /cvsroot/pkgsrc/print/ghostscript/Makefile,v retrieving revision 1.82 diff -u -r1.82 Makefile --- print/ghostscript/Makefile 23 Nov 2010 11:10:15 -0000 1.82 +++ print/ghostscript/Makefile 20 Dec 2010 08:32:36 -0000 @@ -1,7 +1,7 @@ # $NetBSD: Makefile,v 1.82 2010/11/23 11:10:15 tron Exp $ DISTNAME= ghostscript-8.71 -PKGREVISION= 7 +PKGREVISION= 8 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ghostscript/} MASTER_SITES+= http://ghostscript.com/releases/ Index: print/ghostscript/distinfo =================================================================== RCS file: /cvsroot/pkgsrc/print/ghostscript/distinfo,v retrieving revision 1.36 diff -u -r1.36 distinfo --- print/ghostscript/distinfo 23 Nov 2010 11:10:15 -0000 1.36 +++ print/ghostscript/distinfo 20 Dec 2010 08:32:36 -0000 @@ -20,3 +20,4 @@ SHA1 (patch-bb) = 6487b61fafe39a4ac8141b9f84044fc210df66ac SHA1 (patch-bc) = c35ee6c3075b89714fbb74956d68747d3c17bf9c SHA1 (patch-bd) = f7a0448317118bd46d84d9cbc8f4c553175f1e74 +SHA1 (patch-be) = 3bebc842f1b9d54ab5ac7df75bd77e43ca206b0f Index: print/ghostscript/options.mk =================================================================== RCS file: /cvsroot/pkgsrc/print/ghostscript/options.mk,v retrieving revision 1.10 diff -u -r1.10 options.mk --- print/ghostscript/options.mk 1 Nov 2009 23:57:29 -0000 1.10 +++ print/ghostscript/options.mk 20 Dec 2010 08:32:36 -0000 @@ -1,7 +1,7 @@ # $NetBSD: options.mk,v 1.10 2009/11/01 23:57:29 gdt Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.ghostscript -PKG_SUPPORTED_OPTIONS= x11 cups debug fontconfig +PKG_SUPPORTED_OPTIONS= x11 cups debug fontconfig disable-compile-inits PKG_SUGGESTED_OPTIONS= x11 fontconfig .include "../../mk/bsd.options.mk" @@ -46,3 +46,7 @@ .else CONFIGURE_ARGS+= --disable-fontconfig .endif + +.if !empty(PKG_OPTIONS:Mdisable-compile-inits) +CONFIGURE_ARGS+= --disable-compile-inits +.endif Index: print/ghostscript/patches/patch-be =================================================================== RCS file: print/ghostscript/patches/patch-be diff -N print/ghostscript/patches/patch-be --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ print/ghostscript/patches/patch-be 20 Dec 2010 08:32:36 -0000 @@ -0,0 +1,15 @@ +$NetBSD$ +# This suppresses the noisy warning that __func__ redefined + +--- base/gserror.h.orig 2009-02-10 07:18:18.000000000 +0900 ++++ base/gserror.h 2010-12-20 16:28:11.000000000 +0900 +@@ -25,6 +25,9 @@ + #define return_error(err) return gs_note_error(err) + + #if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L ++# if (defined(__func__)) ++# undef __func__ ++# endif + # if defined(__GNUC__) && __GNUC__ >= 2 + # define __func__ __FUNCTION__ + # elif defined(__FUNCTION__)