summaryrefslogtreecommitdiffstats
path: root/support/kconfig/patches/11-use-mktemp-for-lxdialog.patch
diff options
context:
space:
mode:
authorThomas Petazzoni2011-08-31 23:35:05 +0200
committerPeter Korsgaard2011-09-17 08:17:06 +0200
commit56da3859c770b83631ebae810dfb3024c1a9cbd2 (patch)
tree0f253485b64572a2ec87b6d91cd07f09d2fab652 /support/kconfig/patches/11-use-mktemp-for-lxdialog.patch
parentsupport: move patch-kernel.sh and rename it (diff)
downloadbuildroot-56da3859c770b83631ebae810dfb3024c1a9cbd2.tar.gz
buildroot-56da3859c770b83631ebae810dfb3024c1a9cbd2.tar.xz
buildroot-56da3859c770b83631ebae810dfb3024c1a9cbd2.zip
support: move kconfig stuff from package/config to support/kconfig
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'support/kconfig/patches/11-use-mktemp-for-lxdialog.patch')
-rw-r--r--support/kconfig/patches/11-use-mktemp-for-lxdialog.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/support/kconfig/patches/11-use-mktemp-for-lxdialog.patch b/support/kconfig/patches/11-use-mktemp-for-lxdialog.patch
new file mode 100644
index 000000000..21ca22883
--- /dev/null
+++ b/support/kconfig/patches/11-use-mktemp-for-lxdialog.patch
@@ -0,0 +1,17 @@
+---
+ lxdialog/check-lxdialog.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: config/lxdialog/check-lxdialog.sh
+===================================================================
+--- config.orig/lxdialog/check-lxdialog.sh
++++ config/lxdialog/check-lxdialog.sh
+@@ -33,7 +33,7 @@
+ }
+
+ # Temp file, try to clean up after us
+-tmp=.lxdialog.tmp
++tmp=$(mktemp)
+ trap "rm -f $tmp" 0 1 2 3 15
+
+ # Check if we can link to ncurses