libgtk3: remove non-existent configure options
[buildroot-gz.git] / package / fakeroot / 0001-hide-dlsym-error.patch
blob2c61fab2484337fc1f93f623b5ac908ce7adf897
1 Description: Hide error from dlsym()
2 dlsym(), starting in glibc 2.24 actually reports errors. In our case,
3 we try to get ACL functions which are not in the glibc. This causes
4 failures in test suites, so hide those messages for non-debugging
5 purposes for now. It also makes the build logs annoying to read.
6 Author: Julian Andres Klode <juliank@ubuntu.com>
7 Origin: vendor
8 Bug-Debian: https://bugs.debian.org/830912
9 Forwarded: no
10 Last-Update: 2016-08-12
12 Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
14 --- a/libfakeroot.c
15 +++ b/libfakeroot.c
16 @@ -256,10 +256,16 @@ void load_library_symbols(void){
17 /* clear dlerror() just in case dlsym() legitimately returns NULL */
18 msg = dlerror();
19 *(next_wrap[i].doit)=dlsym(get_libc(), next_wrap[i].name);
21 if ( (msg = dlerror()) != NULL){
22 - fprintf (stderr, "dlsym(%s): %s\n", next_wrap[i].name, msg);
23 -/* abort ();*/
24 +#ifdef LIBFAKEROOT_DEBUGGING
25 + if (fakeroot_debug) {
26 + fprintf (stderr, "dlsym(%s): %s\n", next_wrap[i].name, msg);
27 +/* abort ();*/
28 + }
29 +#endif