aboutsummaryrefslogtreecommitdiffstats
path: root/main/libc0.9.32/0001-ldd-subdepends-check-stderr.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2013-05-11 22:22:49 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2013-05-11 22:22:49 -0500
commit305bf33ed7f6fe4b299a43688a52897d4e7dbb05 (patch)
tree2a9fd68c6fe4346a14a8b54405ed93773c628fa0 /main/libc0.9.32/0001-ldd-subdepends-check-stderr.patch
parenta83d9fc2a67ce5d5d51204b2f93077cb8d75d37f (diff)
downloadaports-305bf33ed7f6fe4b299a43688a52897d4e7dbb05.tar.bz2
aports-305bf33ed7f6fe4b299a43688a52897d4e7dbb05.tar.xz
main/libc0.9.32: suppress ldd debug messages to stderr
The debug messages were being parsed by tools which invoked ldd to discover shared library dependencies, such as gobject-introspection. This caused gobject-introspection to be broken on x86_64 due to the presence of the debug messages.
Diffstat (limited to 'main/libc0.9.32/0001-ldd-subdepends-check-stderr.patch')
-rw-r--r--main/libc0.9.32/0001-ldd-subdepends-check-stderr.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/libc0.9.32/0001-ldd-subdepends-check-stderr.patch b/main/libc0.9.32/0001-ldd-subdepends-check-stderr.patch
new file mode 100644
index 0000000000..c26f65eafd
--- /dev/null
+++ b/main/libc0.9.32/0001-ldd-subdepends-check-stderr.patch
@@ -0,0 +1,11 @@
+--- uClibc-0.9.33.2.orig/utils/ldd.c
++++ uClibc-0.9.33.2/utils/ldd.c
+@@ -827,7 +827,7 @@
+ for (cur = lib_list; cur; cur = cur->next) {
+ if (cur->resolved == 0 && cur->path) {
+ got_em_all = 1;
+- printf("checking sub-depends for '%s'\n", cur->path);
++ fprintf(stderr, "checking sub-depends for '%s'\n", cur->path);
+ find_dependencies(cur->path);
+ cur->resolved = 1;
+ }