[oe-commits] org.oe.dev glibc 2.5: Fix common case of GNU arrogance, make ldd work on posix shell.

pfalcon commit openembedded-commits at lists.openembedded.org
Sat Mar 31 00:38:36 UTC 2007


glibc 2.5: Fix common case of GNU arrogance, make ldd work on posix shell.
* Not bumping PR, to save people trouble. Leaving for decision to OE maintainers.

Author: pfalcon at openembedded.org
Branch: org.openembedded.dev
Revision: 5b3c06549bda71c0b02a8f27fa8aa82c95abc4ad
ViewMTN: http://monotone.openembedded.org/revision.psp?id=5b3c06549bda71c0b02a8f27fa8aa82c95abc4ad
Files:
1
packages/glibc/glibc-2.4/ldd-unbash.patch
packages/glibc/glibc_2.5.bb
Diffs:

#
# mt diff -re7e5983b231f05cb82978173bc4562e70543fd6a -r5b3c06549bda71c0b02a8f27fa8aa82c95abc4ad
#
# 
# 
# add_file "packages/glibc/glibc-2.4/ldd-unbash.patch"
#  content [172210cc779f77f389e4a033309f6e11f85bd9f9]
# 
# patch "packages/glibc/glibc_2.5.bb"
#  from [488cae563ff4fd93e1312ddfded1fa1a01b30dd0]
#    to [b724b1acd7564000063ccea720523ab312b5f4b3]
# 
============================================================
--- packages/glibc/glibc-2.4/ldd-unbash.patch	172210cc779f77f389e4a033309f6e11f85bd9f9
+++ packages/glibc/glibc-2.4/ldd-unbash.patch	172210cc779f77f389e4a033309f6e11f85bd9f9
@@ -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
+   }
============================================================
--- packages/glibc/glibc_2.5.bb	488cae563ff4fd93e1312ddfded1fa1a01b30dd0
+++ packages/glibc/glibc_2.5.bb	b724b1acd7564000063ccea720523ab312b5f4b3
@@ -56,6 +56,7 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gli
 #	   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 \






More information about the Openembedded-commits mailing list