summaryrefslogtreecommitdiff
path: root/print/ghostscript8/files/patch-lib__ps2epsi.CAN-2004-0967
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-03-27 19:59:21 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-03-27 19:59:21 +0000
commit20352fa29823ad73e4f06d086dc9598d1a274ab8 (patch)
tree8dca0c9c79381ab1af57f988e6007e2e7b2e40fa /print/ghostscript8/files/patch-lib__ps2epsi.CAN-2004-0967
parentClean up CXXFLAGS. Fix compilation with gcc-4.1.x. (diff)
- Update to 8.56
- Switch to GTK 2.x - SWitch to ship-in jasper which contains some fixes for gs PR: ports/110818 Submitted by: KATO Tsuguru <tkato432 at yahoo.com>
Notes
Notes: svn path=/head/; revision=188581
Diffstat (limited to 'print/ghostscript8/files/patch-lib__ps2epsi.CAN-2004-0967')
-rw-r--r--print/ghostscript8/files/patch-lib__ps2epsi.CAN-2004-096719
1 files changed, 19 insertions, 0 deletions
diff --git a/print/ghostscript8/files/patch-lib__ps2epsi.CAN-2004-0967 b/print/ghostscript8/files/patch-lib__ps2epsi.CAN-2004-0967
new file mode 100644
index 000000000000..c1b1cbcc3fbe
--- /dev/null
+++ b/print/ghostscript8/files/patch-lib__ps2epsi.CAN-2004-0967
@@ -0,0 +1,19 @@
+--- lib/ps2epsi.orig Thu May 25 02:19:27 2006
++++ lib/ps2epsi Fri Mar 23 10:55:11 2007
+@@ -5,14 +5,8 @@
+ # executable name set in the makefile
+ GS_EXECUTABLE=gs
+
+-# try to create a temporary file securely
+-tmpdir=/tmp/ps2epsi.$$
+-(umask 077 && mkdir $tmpdir)
+-if test ! -d $tmpdir; then
+- echo "failed: could not create temporary file"
+- exit 1
+-fi
+-tmpfile=$tmpdir/ps2epsi$$
++tmpfile=`mktemp -t ps2epsi.XXXXXX || exit 1`
++trap "rm -rf $tmpfile" 0 1 2 3 7 13 15
+
+ export outfile
+