$NetBSD: patch-ac,v 1.1 2005/11/27 17:04:18 adrianp Exp $

--- lib/ps2epsi.orig	2005-11-27 15:39:22.000000000 +0000
+++ lib/ps2epsi
@@ -5,7 +5,8 @@
 # executable name set in the makefile
 GS_EXECUTABLE=gs
 
-tmpfile=/tmp/ps2epsi$$
+tmpfile=`mktemp -t ps2epsi.XXXXXX || exit 1`
+trap "rm -rf $tmpfile" 0 1 2 3 7 13 15
 
 export outfile
 
