Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gcc6.git;a=commitdiff;h=d03e24cee9e17736817b0f161bf7405a14fc1271

commit d03e24cee9e17736817b0f161bf7405a14fc1271
Author: crazy <[email protected]>
Date:   Mon Sep 5 16:47:38 2016 +0200

fakeroot-1.21-3-x86_64
* ... f***root :)

diff --git a/source/devel/fakeroot/FrugalBuild 
b/source/devel/fakeroot/FrugalBuild
index aeaca75..bc5670d 100644
--- a/source/devel/fakeroot/FrugalBuild
+++ b/source/devel/fakeroot/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=fakeroot
pkgver=1.21
-pkgrel=2
+pkgrel=3
pkgdesc="Gives a fake root environment"
url="http://packages.debian.org/unstable/utils/fakeroot";
depends=('glibc>=2.24')
diff --git a/source/devel/fakeroot/dont-be-verbose.patch 
b/source/devel/fakeroot/dont-be-verbose.patch
index 0cc4041..3fd34c8 100644
--- a/source/devel/fakeroot/dont-be-verbose.patch
+++ b/source/devel/fakeroot/dont-be-verbose.patch
@@ -1,16 +1,32 @@
-diff --git a/libfakeroot.c b/libfakeroot.c
-index f867758..7ef6e47 100644
+Description: Hide error from dlsym()
+ dlsym(), starting in glibc 2.24 actually reports errors. In our case,
+ we try to get ACL functions which are not in the glibc. This causes
+ failures in test suites, so hide those messages for non-debugging
+ purposes for now. It also makes the build logs annoying to read.
+Author: Julian Andres Klode <[email protected]>
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/830912
+Forwarded: no
+Last-Update: 2016-08-12
+
--- a/libfakeroot.c
+++ b/libfakeroot.c
-@@ -256,10 +256,12 @@ void load_library_symbols(void){
+@@ -256,10 +256,16 @@ 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 ();*/
+-      fprintf (stderr, "dlsym(%s): %s\n", next_wrap[i].name, msg);
+-/*    abort ();*/
++#ifdef LIBFAKEROOT_DEBUGGING
++      if (fakeroot_debug) {
++        fprintf (stderr, "dlsym(%s): %s\n", next_wrap[i].name, msg);
++/*      abort ();*/
++      }
++#endif
}
-+#endif /* LIBFAKEROOT_DEBUGGING */
++
}
- }
\ No newline at end of file
+ }
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to