diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2007-03-27 19:59:21 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2007-03-27 19:59:21 +0000 |
commit | 20352fa29823ad73e4f06d086dc9598d1a274ab8 (patch) | |
tree | 8dca0c9c79381ab1af57f988e6007e2e7b2e40fa /print/ghostscript-gpl/files/patch-lib__pv.sh.CAN-2004-0967 | |
parent | Clean 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/ghostscript-gpl/files/patch-lib__pv.sh.CAN-2004-0967')
-rw-r--r-- | print/ghostscript-gpl/files/patch-lib__pv.sh.CAN-2004-0967 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/print/ghostscript-gpl/files/patch-lib__pv.sh.CAN-2004-0967 b/print/ghostscript-gpl/files/patch-lib__pv.sh.CAN-2004-0967 new file mode 100644 index 000000000000..a37fc43aada9 --- /dev/null +++ b/print/ghostscript-gpl/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 |