dev-util/fatrace: fix build w/newer glibc #580082
authorMike Frysinger <vapier@gentoo.org>
Wed, 20 Apr 2016 04:04:33 +0000 (00:04 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 20 Apr 2016 04:04:33 +0000 (00:04 -0400)
dev-util/fatrace/fatrace-0.11.ebuild
dev-util/fatrace/files/fatrace-0.11-sysmacros.patch [new file with mode: 0644]

index a9b362e35a153b961f031091f1885bf43052de3e..ff389995f2b92f4e457e374a39008c85776ca1a6 100644 (file)
@@ -28,6 +28,7 @@ pkg_setup() {
 }
 
 src_prepare() {
+       epatch "${FILESDIR}"/${P}-sysmacros.patch #580082
        tc-export CC
 }
 
diff --git a/dev-util/fatrace/files/fatrace-0.11-sysmacros.patch b/dev-util/fatrace/files/fatrace-0.11-sysmacros.patch
new file mode 100644 (file)
index 0000000..6f1816d
--- /dev/null
@@ -0,0 +1,13 @@
+https://bugs.launchpad.net/fatrace/+bug/1572396
+https://bugs.gentoo.org/580082
+
+--- a/fatrace.c
++++ b/fatrace.c
+@@ -33,6 +33,7 @@
+ #include <signal.h>
+ #include <time.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <sys/fanotify.h>
+ #include <sys/time.h>
+ #include <sys/types.h>