summary refs log tree commit diff
path: root/src/mkbuiltins
diff options
context:
space:
mode:
authorAleksey Cheusov <vle@gmx.net>2009-01-13 14:54:34 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2009-01-13 14:57:41 +1100
commit508d3a2b0e44dac186738411099d43a7679fbbb2 (patch)
treebbcf9eef7cbf6d10177ce70d4e17afcd2c3c7771 /src/mkbuiltins
parent[MAN] Removed obsolete for loop syntax (diff)
downloaddash-508d3a2b0e44dac186738411099d43a7679fbbb2.tar.gz
dash-508d3a2b0e44dac186738411099d43a7679fbbb2.zip
[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 <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r--src/mkbuiltins2
1 files changed, 1 insertions, 1 deletions
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
01 19:24:31 -0500'>2012-02-01Add tabular.vimJune McEnroe 2012-02-01Update Vim-Tomorrow-ThemeJune McEnroe 2012-01-30Disable menu bar in GVimJune McEnroe 2012-01-30Set shiftwidth to 4 for LuaJune McEnroe 2012-01-29Don't show Syntastic errors automaticallyJune McEnroe 2012-01-28Update to Quicktask 1.1June McEnroe 2012-01-22Use space-test branch of quicktaskJune McEnroe 2012-01-22Enable syntax-based foldingJune McEnroe 2012-01-22Update quicktaskJune McEnroe 2012-01-22Revert "Add AutoClose"June McEnroe 2012-01-22Revert "Disable powerline for now"June McEnroe 2012-01-22Revert "Add VCS repo directories to wildignore"June McEnroe 2012-01-22Disable powerline for nowJune McEnroe 2012-01-22Update some pluginsJune McEnroe 2012-01-22Add VCS repo directories to wildignoreJune McEnroe 2012-01-22Map ,e and ,b to CtrlP file and buffer respectivelyJune McEnroe 2012-01-22Add vim-spaceJune McEnroe 2012-01-22Add AutoCloseJune McEnroe 2012-01-22Add binding for GundoJune McEnroe 2012-01-22Add GundoJune McEnroe 2012-01-22Add Jellybeans colorschemeJune McEnroe 2012-01-22Add syntasticJune McEnroe 2012-01-21Add PowerlineJune McEnroe 2012-01-21Add quicktaskJune McEnroe 2012-01-15Moved comments out of mapsJune McEnroe 2012-01-14Disable scrollbarsJune McEnroe