From bc5afd45e738ac994ae006e08f21954b603fac6a Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Mon, 20 Sep 2010 12:18:52 -0400 Subject: [PATCH] rsync: help configure to decide to use mkstemp() instead of mktemp() --- network/rsync/rsync.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/network/rsync/rsync.conf b/network/rsync/rsync.conf index ee9f56d06..b76095892 100644 --- a/network/rsync/rsync.conf +++ b/network/rsync/rsync.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../rsync/rsync.conf -# Copyright (C) 2008 The OpenSDE Project +# Copyright (C) 2008 - 2010 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -18,3 +18,7 @@ var_append GCC_WRAPPER_INSERT ' ' '-DHAVE_VA_COPY=1' # use the supplied 'configure.sh' directly (fixes cross-compiling) configscript="./configure.sh" + +if atstage cross; then + var_append configcache ' ' 'rsync_cv_HAVE_SECURE_MKSTEMP=yes' +fi