From patchwork Sun Jan 6 13:06:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 209753 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 1A2EB2C0084 for ; Mon, 7 Jan 2013 00:06:41 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C265F101939; Sun, 6 Jan 2013 13:06:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y5KBSczanzjv; Sun, 6 Jan 2013 13:06:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 996BFFF969; Sun, 6 Jan 2013 13:06:27 +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 92D178F753 for ; Sun, 6 Jan 2013 13:06:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7770F8BDC6 for ; Sun, 6 Jan 2013 13:06:36 +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 TNZx-We9H7RZ for ; Sun, 6 Jan 2013 13:06:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by whitealder.osuosl.org (Postfix) with ESMTPS id 2E1B98BC5B for ; Sun, 6 Jan 2013 13:06:35 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id t11so8874754wey.26 for ; Sun, 06 Jan 2013 05:06:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer; bh=DA/f2AW+U8+uRW/IjT68ilVqQ/bG9M7mZINeXKtuY5E=; b=qO6ChvRva3jwjVfrQQagx4pKwcPI5/JBMCEKjc18k8Oh3ZAaJ5Ac+s7sbCWyCblnQ7 odz86mXZZ8qxJDDWuyABzAC/E/p+Uinqz9ybcATyjXoU7p+sdG4TEkpGGNqme8iuyNfZ xG+DJOSYWtOeJjlV2OTe8HeV+5uHd1HOAFJLvD1/UzL8fCDkFb7YpBXL9/h0+BJ50l0C Etg6YprxNNluN0w49yTwT95wTE/Cnqgf/cmw+v1YBYj5ERD3OJMMP2PSZSh+64Hmnhzj VUaRV5r1q6cIeDL4JW0bM2QSiS8fZgKxlIWQbdKsRNBzQDAT4Bh6bNddcx8WABwhV7Vv VepQ== X-Received: by 10.194.9.162 with SMTP id a2mr91127763wjb.33.1357477593485; Sun, 06 Jan 2013 05:06:33 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-70-176.w90-32.abo.wanadoo.fr. [90.32.149.176]) by mx.google.com with ESMTPS id bz12sm8296226wib.5.2013.01.06.05.06.31 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Jan 2013 05:06:32 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 6 Jan 2013 14:06:28 +0100 Message-Id: <1357477588-18425-1-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH] package/crosstool-ng: fix show-tuple stdout X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Upstream changeset d8bd17248789. Reported-by: Floris Bos Signed-off-by: "Yann E. MORIN" --- .../crosstool-ng-001-fix-showtuple-stdout.patch | 35 ++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) create mode 100644 package/crosstool-ng/crosstool-ng-001-fix-showtuple-stdout.patch diff --git a/package/crosstool-ng/crosstool-ng-001-fix-showtuple-stdout.patch b/package/crosstool-ng/crosstool-ng-001-fix-showtuple-stdout.patch new file mode 100644 index 0000000..416ef76 --- /dev/null +++ b/package/crosstool-ng/crosstool-ng-001-fix-showtuple-stdout.patch @@ -0,0 +1,35 @@ +changeset: 3141:d8bd17248789 +tag: tip +user: "Yann E. MORIN" +date: Sun Jan 06 12:08:33 2013 +0100 +files: scripts/showTuple.sh.in +description: +scripts/showTuple: fix stdout + +Since we've had the debug shell feature, fd #7 is now used to +redirect stderr, while it was previously unused. + +Use fd #9 to redirect stdout. + +Signed-off-by: "Yann E. MORIN" + + +diff --git a/scripts/showTuple.sh.in b/scripts/showTuple.sh.in +--- a/scripts/showTuple.sh.in ++++ b/scripts/showTuple.sh.in +@@ -7,7 +7,7 @@ + . "${CT_LIB_DIR}/paths.sh" + + # We'll need the stdout later, save it +-exec 7>&1 ++exec 9>&1 + + # Parse the common functions + . "${CT_LIB_DIR}/scripts/functions" +@@ -27,4 +27,4 @@ + CT_DoBuildTargetTuple + + # All this for this single echo... :-( Sigh, I'll have to re-arrange things... +-echo "${CT_TARGET}" >&7 ++echo "${CT_TARGET}" >&9 +