From patchwork Wed Sep 19 16:43:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Waldemar Brodkorb X-Patchwork-Id: 185107 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 5D04D2C0084 for ; Thu, 20 Sep 2012 02:51:47 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 49F2F8A38A; Wed, 19 Sep 2012 16:51:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v+DCB7ZDnDkz; Wed, 19 Sep 2012 16:51:42 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 347FD8A376; Wed, 19 Sep 2012 16:51:42 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 592188F74B for ; Wed, 19 Sep 2012 16:51:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B9F718A371 for ; Wed, 19 Sep 2012 16:51:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2egiLUR5JfyT for ; Wed, 19 Sep 2012 16:51:40 +0000 (UTC) X-Greylist: delayed 00:08:46 by SQLgrey-1.7.6 Received: from helium.waldemar-brodkorb.de (rps9662.ovh.net [94.23.226.88]) by whitealder.osuosl.org (Postfix) with ESMTPS id DA0DC8A376 for ; Wed, 19 Sep 2012 16:51:39 +0000 (UTC) Received: by helium.waldemar-brodkorb.de (Postfix, from userid 1000) id 9E2E4233C1; Wed, 19 Sep 2012 18:43:17 +0200 (CEST) Date: Wed, 19 Sep 2012 18:43:17 +0200 From: Waldemar Brodkorb To: buildroot@busybox.net Message-ID: <20120919164317.GA20160@waldemar-brodkorb.de> MIME-Version: 1.0 Content-Disposition: inline X-Operating-System: Linux 2.6.32.2-xxxx-grs-ipv4-32 i686 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: [Buildroot] [PATCH] use a more portable syntax for mktemp. fixes build problem under MacOS X X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Waldemar Brodkorb List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Hi Developers, following patch might be useful, when using buildroot on MacOS X. Signed-off-by: Waldemar Brodkorb --- support/kconfig/lxdialog/check-lxdialog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/kconfig/lxdialog/check-lxdialog.sh b/support/kconfig/lxdialog/check-lxdialog.sh index 969cd4c..fb4d90b 100644 --- a/support/kconfig/lxdialog/check-lxdialog.sh +++ b/support/kconfig/lxdialog/check-lxdialog.sh @@ -33,7 +33,7 @@ ccflags() } # Temp file, try to clean up after us -tmp=$(mktemp) +tmp=$(mktemp -t yyy) trap "rm -f $tmp" 0 1 2 3 15 # Check if we can link to ncurses