openbsd-ports/converters/wv/patches/patch-wvHtml_in
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

13 lines
386 B
Plaintext

$OpenBSD: patch-wvHtml_in,v 1.1.1.1 2001/08/11 00:51:32 avsm Exp $
--- wvHtml.in.orig Fri Nov 17 23:51:39 2000
+++ wvHtml.in Thu Aug 9 18:48:39 2001
@@ -16,4 +16,7 @@ if [ ${?} -ne "0" ]; then
exit 1
fi
-wvWare -x ${datadir}/wv/wvHtml.xml "${1}" > "${2}"
+TMPDIR=`mktemp -d /tmp/wvHtml.XXXXXXXXX` && {
+ wvWare -x ${datadir}/wv/wvHtml.xml "${1}" > "${2}"
+ rm -rf $TMPDIR
+}