pkgsrc/devel/noweb/patches/patch-ac
tnn cbe3855e0b Fix patch-ac: Linux mktemp(1) fails to be compatible with the original BSD
mktemp implementation in that the X's _must_ be specified in the template.
2008-03-08 16:28:23 +00:00

13 lines
438 B
Text

$NetBSD: patch-ac,v 1.3 2008/03/08 16:28:23 tnn Exp $
--- src/awkname.orig 2000-06-16 22:26:42.000000000 +0200
+++ src/awkname
@@ -5,7 +5,7 @@ case $# in
esac
rc=0
-new=/tmp/$$.new; old=/tmp/$$.old
+new=$(@MKTEMP@ -t noweb_new.XXXXXXXX) || exit 1; old=$(@MKTEMP@ -t noweb_old.XXXXXXXX) || exit 1
for file in lib/emptydefn lib/unmarkup lib/toascii lib/btdefn \
awk/noidx awk/totex awk/tohtml awk/noindex \