diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-14 02:22:19 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-14 02:22:56 -0500 |
commit | b1eb50599e4db7eb4501af75cbbfa22007081ea5 (patch) | |
tree | c94a34c882cc17adedd781e8c5f34349b2a62416 /system/fakeroot/fakeroot-hide-dlsym-errors.patch | |
parent | b9e85bbdcf38547ef2ca4e5c2a6e6293bbcd2752 (diff) | |
download | packages-b1eb50599e4db7eb4501af75cbbfa22007081ea5.tar.gz packages-b1eb50599e4db7eb4501af75cbbfa22007081ea5.tar.bz2 packages-b1eb50599e4db7eb4501af75cbbfa22007081ea5.tar.xz packages-b1eb50599e4db7eb4501af75cbbfa22007081ea5.zip |
The New Plan
all pkgs needed to bootstrap -> system
others -> user
Diffstat (limited to 'system/fakeroot/fakeroot-hide-dlsym-errors.patch')
-rw-r--r-- | system/fakeroot/fakeroot-hide-dlsym-errors.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/system/fakeroot/fakeroot-hide-dlsym-errors.patch b/system/fakeroot/fakeroot-hide-dlsym-errors.patch new file mode 100644 index 000000000..aeeb347da --- /dev/null +++ b/system/fakeroot/fakeroot-hide-dlsym-errors.patch @@ -0,0 +1,20 @@ +it's normal that the acl_* symbols are not found if the application +is not linked against -lacl. these errors harmless, but mighty +annoying. + +--- fakeroot-1.20/libfakeroot.c.orig 2014-03-07 11:20:26.120532847 +0200 ++++ fakeroot-1.20/libfakeroot.c 2014-03-07 11:21:26.486872482 +0200 +@@ -258,10 +258,12 @@ + /* clear dlerror() just in case dlsym() legitimately returns NULL */ + msg = dlerror(); + *(next_wrap[i].doit)=dlsym(get_libc(), next_wrap[i].name); +- if ( (msg = dlerror()) != NULL){ ++#ifdef LIBFAKEROOT_DEBUGGING ++ if ( fakeroot_debug && (msg = dlerror()) != NULL) { + fprintf (stderr, "dlsym(%s): %s\n", next_wrap[i].name, msg); + /* abort ();*/ + } ++#endif + } + } + |