diff options
Diffstat (limited to 'devel/noweb/patches/patch-ah')
-rw-r--r-- | devel/noweb/patches/patch-ah | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/noweb/patches/patch-ah b/devel/noweb/patches/patch-ah new file mode 100644 index 00000000000..378e71d01a4 --- /dev/null +++ b/devel/noweb/patches/patch-ah @@ -0,0 +1,17 @@ +$NetBSD: patch-ah,v 1.1.2.2 2006/05/24 00:05:17 salo Exp $ + +--- lib/toascii.orig 1999-02-16 22:58:52.000000000 +0100 ++++ lib/toascii +@@ -7,9 +7,9 @@ for i do + *) echo "This can't happen -- $i passed to toascii" 1>&2 ; exit 1 ;; + esac + done +-awkfile="tmp/awk$$.tmp" +-textfile="/tmp/text$$.tmp" +-tagsfile="/tmp/tags$$.tmp" ++awkfile=$(@MKTEMP@ -t awk -s) || exit 1 ++textfile=$(@MKTEMP@ -t text -s) || exit 1 ++tagsfile=$(@MKTEMP@ -t tags -s) || exit 1 + export awkfile textfile tagsfile + trap 'rm -f $awkfile $textfile $tagsfile' 0 1 2 10 14 15 + nawk 'BEGIN { textfile=ENVIRON["textfile"] |