head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.38 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.36 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.34 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.32 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.30 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.28 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.26 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.24 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.22 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.20 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.18 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.16 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.14 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.12 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.10 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.8 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.6 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.4 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.2 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.1.1.1.0.24 pkgsrc-2005Q3-base:1.1.1.1 pkgsrc-2005Q2:1.1.1.1.0.22 pkgsrc-2005Q2-base:1.1.1.1 pkgsrc-2005Q1:1.1.1.1.0.20 pkgsrc-2005Q1-base:1.1.1.1 pkgsrc-2004Q4:1.1.1.1.0.18 pkgsrc-2004Q4-base:1.1.1.1 pkgsrc-2004Q3:1.1.1.1.0.16 pkgsrc-2004Q3-base:1.1.1.1 pkgsrc-2004Q2:1.1.1.1.0.14 pkgsrc-2004Q2-base:1.1.1.1 pkgsrc-2004Q1:1.1.1.1.0.12 pkgsrc-2004Q1-base:1.1.1.1 pkgsrc-2003Q4:1.1.1.1.0.10 pkgsrc-2003Q4-base:1.1.1.1 netbsd-1-6-1:1.1.1.1.0.6 netbsd-1-6-1-base:1.1.1.1 netbsd-1-6:1.1.1.1.0.8 netbsd-1-6-RELEASE-base:1.1.1.1 pkgviews:1.1.1.1.0.4 pkgviews-base:1.1.1.1 buildlink2:1.1.1.1.0.2 buildlink2-base:1.1.1.1 netbsd-1-5-PATCH003:1.1.1.1 netbsd-1-5-PATCH001:1.1.1.1 netbsd-1-5-RELEASE:1.1.1.1 netbsd-1-4-PATCH003:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.2 date 2005.12.09.20.30.17; author wiz; state dead; branches; next 1.1; 1.1 date 2000.05.07.02.04.35; author jlam; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.05.07.02.04.35; author jlam; state Exp; branches; next ; desc @@ 1.2 log @Add x11 option to the various ghostscript packages, and get rid of the separate ghostscript*x11* packages. @ text @$NetBSD: patch-aq,v 1.1 2000/05/07 02:04:35 jlam Exp $ --- src/gp_unifs.c.orig Thu Mar 9 03:40:41 2000 +++ src/gp_unifs.c Mon May 1 20:26:24 2000 @@@@ -36,8 +36,12 @@@@ # define MAXPATHLEN 1024 #endif +#ifdef HAVE_MKSTEMP +#include +#else /* Library routines not declared in a standard header */ extern char *mktemp(P1(char *)); +#endif /* ------ File naming and accessing ------ */ @@@@ -69,8 +73,12 @@@@ if (*fname != 0 && fname[strlen(fname) - 1] == 'X') strcat(fname, "-"); strcat(fname, "XXXXXX"); +#ifdef HAVE_MKSTEMP + return fdopen(mkstemp(fname), mode); +#else mktemp(fname); return fopen(fname, mode); +#endif } /* Open a file with the given name, as a stream of uninterpreted bytes. */ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @ghostscript-nox11-6.01: Changes from 5.50 include many bug fixes, and better support for several color printers. Incorporates the "bonk" color HP printer drivers. Also includes support for the Japanese Vector Font library for JPDF display and for various Japanese printers. Many thanks to itohy@@netbsd.org for providing the VFlib patches. Closes PR#9998. @ text @@