$NetBSD: patch-aj,v 1.1 2006/05/23 16:07:04 joerg Exp $ --- ../contrib/norman/htmlgif/pstopbm.orig 1998-08-07 20:29:32.000000000 +0200 +++ ../contrib/norman/htmlgif/pstopbm @@ -36,8 +36,8 @@ while [ $# -gt 0 ]; do shift done -tmp=/tmp/pstopbm$$ -tmpa=$tmp.a +tmp=$(@MKTEMP@ -t pstopbm) || exit 1 +tmpa=$(@MKTEMP@ -t pstopbm_a -s) || exit 1 if [ $# -eq 0 ]; then cat > $tmp; else cat "$@" > $tmp; fi if echo "$@" | fgrep .eps > /dev/null; then @@ -76,7 +76,7 @@ exit 0 if [ $# -eq 0 ]; then - tmp=/tmp/pstopbm$$ + tmp=$(@MKTEMP@ -t pstopbm) || exit 1 cat > $tmp gs -q -sDEVICE=$device -sOutputFile=- -dNOPAUSE -dMAGSTEP=1.0 $tmp else