summaryrefslogtreecommitdiffstats
path: root/package/crosstool-ng/crosstool-ng-001-fix-showtuple-stdout.patch
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2013-01-06 03:06:28 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-06 17:43:33 +0100
commit6e6d2363e02a7c905e7141174d778756a129fa8e (patch)
tree6ca4a43c027c019a7888eb54d325a73661132a33 /package/crosstool-ng/crosstool-ng-001-fix-showtuple-stdout.patch
parent5b33e0b6a139ce3a622817b45a8882a448312fc0 (diff)
downloadbuildroot-novena-6e6d2363e02a7c905e7141174d778756a129fa8e.tar.gz
buildroot-novena-6e6d2363e02a7c905e7141174d778756a129fa8e.zip
package/crosstool-ng: fix show-tuple stdout
Upstream changeset d8bd17248789. Reported-by: Floris Bos <bos@je-eigen-domein.nl> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/crosstool-ng/crosstool-ng-001-fix-showtuple-stdout.patch')
-rw-r--r--package/crosstool-ng/crosstool-ng-001-fix-showtuple-stdout.patch35
1 files changed, 35 insertions, 0 deletions
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 000000000..416ef76da
--- /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" <yann.morin.1998@free.fr>
+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" <yann.morin.1998@free.fr>
+
+
+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
+