openbsd-ports/converters/wv/patches/patch-wvMime
avsm 062c231a3b initial import of wv-0.6.5
--

wv is a library which allows access to Microsoft Word files. It can
load and parse the word 2000, 97, 95 and 6 file formats. These are
the file formats known internally as Word 9, 8, 7 and 6. Work is
underway to support reading earlier formats as well: Word 2 docs
are converted to plaintext.
2001-08-11 00:51:31 +00:00

16 lines
465 B
Plaintext

$OpenBSD: patch-wvMime,v 1.1.1.1 2001/08/11 00:51:32 avsm Exp $
--- wvMime.orig Thu Aug 9 18:51:57 2001
+++ wvMime Thu Aug 9 18:53:52 2001
@@ -43,10 +43,8 @@ fi
# temporary PS file, mangled to get some sort
# of semi-uniqueness
FILE=`basename ${1}`
-TMPDIR="/tmp/${FILE}-${USER}-${$}"
+TMPDIR=`mktemp -d /tmp/wvMime.XXXXXXXXXX`
TMPPS="$TMPDIR/${FILE}-${USER}-${$}.ps"
-
-mkdir $TMPDIR
# Make sure all graphics go into /tmp as well
cp ${1} $TMPDIR/$FILE