ports/opt (3.2): fakeroot: forgot to add patch
commit 914e07e0f35c9cf525feb903f687db8b6e30f5e3 Author: Juergen Daubert <jue@jue.li> Date: Sat Aug 6 13:33:32 2016 +0200 fakeroot: forgot to add patch diff --git a/fakeroot/silence-dlerror.patch b/fakeroot/silence-dlerror.patch new file mode 100644 index 0000000..a4472d8 --- /dev/null +++ b/fakeroot/silence-dlerror.patch @@ -0,0 +1,17 @@ +diff --git a/libfakeroot.c b/libfakeroot.c +index f867758..7ef6e47 100644 +--- a/libfakeroot.c ++++ b/libfakeroot.c +@@ -256,10 +256,12 @@ void load_library_symbols(void){ + /* clear dlerror() just in case dlsym() legitimately returns NULL */ + msg = dlerror(); + *(next_wrap[i].doit)=dlsym(get_libc(), next_wrap[i].name); ++#ifdef LIBFAKEROOT_DEBUGGING + if ( (msg = dlerror()) != NULL){ + fprintf (stderr, "dlsym(%s): %s\n", next_wrap[i].name, msg); + /* abort ();*/ + } ++#endif /* LIBFAKEROOT_DEBUGGING */ + } + } +
participants (1)
-
crux@crux.nu