diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2014-11-23 06:14:21 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2014-11-23 06:14:21 +0000 |
commit | 118978bf4c6dbf7ffc92a190aab60942c56093f4 (patch) | |
tree | 129b54759668029d5b4e2c90770cbd6d51066db8 /print/ghostscript7/files/patch-lib:pv.sh.CAN-2004-0967 | |
parent | Upgrade to 4.7.1 (diff) |
Resurrect print/ghostscript7{,-commfont,-jpnfont,-korfont,-nox11}.
Notes
Notes:
svn path=/head/; revision=373122
Diffstat (limited to 'print/ghostscript7/files/patch-lib:pv.sh.CAN-2004-0967')
-rw-r--r-- | print/ghostscript7/files/patch-lib:pv.sh.CAN-2004-0967 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/print/ghostscript7/files/patch-lib:pv.sh.CAN-2004-0967 b/print/ghostscript7/files/patch-lib:pv.sh.CAN-2004-0967 new file mode 100644 index 000000000000..a37fc43aada9 --- /dev/null +++ b/print/ghostscript7/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 |