From 508d3a2b0e44dac186738411099d43a7679fbbb2 Mon Sep 17 00:00:00 2001 From: Aleksey Cheusov Date: Tue, 13 Jan 2009 14:54:34 +1100 Subject: [BUILD] Fixed build on NetBSD Hi, I propose to apply the following patch for dash. The problem is alloca.h is absent on many platforms including NetBSD I'm running. Also, NetBSD's version of mktemp doesn't work without temporary filename pattern. Signed-off-by: Herbert Xu --- src/mkbuiltins | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mkbuiltins') diff --git a/src/mkbuiltins b/src/mkbuiltins index 960c61c..424d59a 100644 --- a/src/mkbuiltins +++ b/src/mkbuiltins @@ -37,7 +37,7 @@ tempfile=tempfile if ! type tempfile > /dev/null 2>&1; then - tempfile=mktemp + tempfile='mktemp /tmp/mkbuiltins.XXXXXX' fi trap 'rm -f $temp $temp2' EXIT -- cgit 1.4.1