summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-20 00:04:33 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-20 00:04:33 -0400
commit741ca4217c1ec9cba698c043e3a4f05b88097b03 (patch)
tree231c0acca3a31fc0032c97f2ab743f849edfb371 /dev-util/fatrace
parentdev-util/fatrace: drop old <0.11 versions (diff)
downloadgentoo-741ca4217c1ec9cba698c043e3a4f05b88097b03.tar.gz
gentoo-741ca4217c1ec9cba698c043e3a4f05b88097b03.tar.bz2
gentoo-741ca4217c1ec9cba698c043e3a4f05b88097b03.zip
dev-util/fatrace: fix build w/newer glibc #580082
Diffstat (limited to 'dev-util/fatrace')
-rw-r--r--dev-util/fatrace/fatrace-0.11.ebuild1
-rw-r--r--dev-util/fatrace/files/fatrace-0.11-sysmacros.patch13
2 files changed, 14 insertions, 0 deletions
diff --git a/dev-util/fatrace/fatrace-0.11.ebuild b/dev-util/fatrace/fatrace-0.11.ebuild
index a9b362e35a15..ff389995f2b9 100644
--- a/dev-util/fatrace/fatrace-0.11.ebuild
+++ b/dev-util/fatrace/fatrace-0.11.ebuild
@@ -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
index 000000000000..6f1816dc011b
--- /dev/null
+++ b/dev-util/fatrace/files/fatrace-0.11-sysmacros.patch
@@ -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>