glibc 2.5: Fix common case of GNU arrogance, make ldd work on posix shell.
authorPaul Sokolovsky <pmiscml@gmail.com>
Sat, 31 Mar 2007 00:31:32 +0000 (00:31 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Sat, 31 Mar 2007 00:31:32 +0000 (00:31 +0000)
* Not bumping PR, to save people trouble. Leaving for decision to OE maintainers.

packages/glibc/glibc-2.4/ldd-unbash.patch [new file with mode: 0644]
packages/glibc/glibc_2.5.bb

diff --git a/packages/glibc/glibc-2.4/ldd-unbash.patch b/packages/glibc/glibc-2.4/ldd-unbash.patch
new file mode 100644 (file)
index 0000000..2fb8854
--- /dev/null
@@ -0,0 +1,11 @@
+--- glibc-2.5/elf/ldd.bash.in.org      2006-04-30 16:06:20.000000000 +0000
++++ glibc-2.5/elf/ldd.bash.in  2007-03-30 19:18:57.000000000 +0000
+@@ -110,7 +110,7 @@
+ # environments where the executed program might not have permissions
+ # to write to the console/tty.  But only bash 3.x supports the pipefail
+ # option, and we don't bother to handle the case for older bash versions.
+-if set -o pipefail 2> /dev/null; then
++if false; then
+   try_trace() {
+     eval $add_env '"$@"' | cat
+   }
index ee13754..8cd4c2e 100644 (file)
@@ -56,6 +56,7 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.bz2 \
 #         file://glibc-2.4-openat-3.patch;patch=1 \
 #         file://fixup-aeabi-syscalls.patch;patch=1 \
           file://zecke-sane-readelf.patch;patch=1 \
+           file://ldd-unbash.patch;patch=1 \
           file://generic-bits_select.h \
           file://generic-bits_types.h \
           file://generic-bits_typesizes.h \