diff options
Diffstat (limited to 'print/ghostscript-esp/patches/patch-ae')
-rw-r--r-- | print/ghostscript-esp/patches/patch-ae | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/print/ghostscript-esp/patches/patch-ae b/print/ghostscript-esp/patches/patch-ae new file mode 100644 index 00000000000..1105fe98f64 --- /dev/null +++ b/print/ghostscript-esp/patches/patch-ae @@ -0,0 +1,18 @@ +$NetBSD: patch-ae,v 1.4 2005/11/27 17:05:29 adrianp Exp $ + +--- lib/pv.sh.orig 2005-11-27 14:39:25.000000000 +0000 ++++ lib/pv.sh +@@ -29,9 +29,10 @@ TEMPDIR=. + 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 |