aboutsummaryrefslogtreecommitdiff
path: root/print/ghostscript-afpl
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2005-11-27 17:57:19 +0000
committerHiroki Sato <hrs@FreeBSD.org>2005-11-27 17:57:19 +0000
commitceed13510d97700f33cafcf230ced4a000b45102 (patch)
tree6fc9a41cc760174c691eb69f6e4bb6b813609775 /print/ghostscript-afpl
parent0018c9fcdc72fd4ec0365828d67b443ca6b61794 (diff)
downloadports-ceed13510d97700f33cafcf230ced4a000b45102.tar.gz
ports-ceed13510d97700f33cafcf230ced4a000b45102.zip
Notes
Diffstat (limited to 'print/ghostscript-afpl')
-rw-r--r--print/ghostscript-afpl/Makefile.inc2
-rw-r--r--print/ghostscript-afpl/files/patch-lib:ps2epsi.CAN-2004-096712
-rw-r--r--print/ghostscript-afpl/files/patch-lib:pv.sh.CAN-2004-096716
3 files changed, 29 insertions, 1 deletions
diff --git a/print/ghostscript-afpl/Makefile.inc b/print/ghostscript-afpl/Makefile.inc
index 001c89b64f56..752a6b3309b9 100644
--- a/print/ghostscript-afpl/Makefile.inc
+++ b/print/ghostscript-afpl/Makefile.inc
@@ -1,5 +1,5 @@
# $FreeBSD$
GS_VERSION= 8.53
-GS_REVISION= 0
+GS_REVISION= 1
GS_EPOCH= 1
diff --git a/print/ghostscript-afpl/files/patch-lib:ps2epsi.CAN-2004-0967 b/print/ghostscript-afpl/files/patch-lib:ps2epsi.CAN-2004-0967
new file mode 100644
index 000000000000..33636efcaef2
--- /dev/null
+++ b/print/ghostscript-afpl/files/patch-lib:ps2epsi.CAN-2004-0967
@@ -0,0 +1,12 @@
+--- lib/ps2epsi.orig Mon Nov 28 02:17:38 2005
++++ lib/ps2epsi Mon Nov 28 02:17:45 2005
+@@ -1,7 +1,8 @@
+ #!/bin/sh
+ # $Id: ps2epsi,v 1.7.2.1 2002/04/22 20:18:24 giles Exp $
+
+-tmpfile=/tmp/ps2epsi$$
++tmpfile=`mktemp -t ps2epsi.XXXXXX || exit 1`
++trap "rm -rf $tmpfile" 0 1 2 3 7 13 15
+
+ export outfile
+
diff --git a/print/ghostscript-afpl/files/patch-lib:pv.sh.CAN-2004-0967 b/print/ghostscript-afpl/files/patch-lib:pv.sh.CAN-2004-0967
new file mode 100644
index 000000000000..a37fc43aada9
--- /dev/null
+++ b/print/ghostscript-afpl/files/patch-lib:pv.sh.CAN-2004-0967
@@ -0,0 +1,16 @@
+--- lib/pv.sh.orig Mon Nov 28 02:18:26 2005
++++ lib/pv.sh Mon Nov 28 02:18:59 2005
+@@ -29,9 +29,10 @@
+ PAGE=$1
+ shift
+ FILE=$1
++TEMPFILE=`mktemp -t ${FILE}XXXXXX` || exit 1
+ shift
+-trap "rm -rf $TEMPDIR/$FILE.$$.pv" 0 1 2 15
++trap "rm -rf $TEMPFILE" 0 1 2 15
+ #dvips -D$RESOLUTION -p $PAGE -n 1 $FILE $* -o $FILE.$$.pv
+-dvips -p $PAGE -n 1 $FILE $* -o $FILE.$$.pv
+-gs $FILE.$$.pv
++dvips -p $PAGE -n 1 $FILE $* -o $TEMPFILE
++gs $TEMPFILE
+ exit 0