summaryrefslogtreecommitdiff
path: root/print/ghostscript-afpl/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript-afpl/patches/patch-ac')
-rw-r--r--print/ghostscript-afpl/patches/patch-ac14
1 files changed, 14 insertions, 0 deletions
diff --git a/print/ghostscript-afpl/patches/patch-ac b/print/ghostscript-afpl/patches/patch-ac
new file mode 100644
index 00000000000..8ed2635412e
--- /dev/null
+++ b/print/ghostscript-afpl/patches/patch-ac
@@ -0,0 +1,14 @@
+$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
+