summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-12-07 00:03:34 -0500
committerMike Frysinger <vapier@gentoo.org>2016-12-07 00:08:31 -0500
commitd44615da815563b029843855df7ed220a85e17c4 (patch)
treec7004eb685a5f9817a6f7cae51b5c5169ace3929 /app-admin/fam/files
parentapp-admin/fam: drop old 2.7.0-r6 version (diff)
downloadgentoo-d44615da815563b029843855df7ed220a85e17c4.tar.gz
gentoo-d44615da815563b029843855df7ed220a85e17c4.tar.bz2
gentoo-d44615da815563b029843855df7ed220a85e17c4.zip
app-admin/fam: fix build w/newer glibc #580702
Diffstat (limited to 'app-admin/fam/files')
-rw-r--r--app-admin/fam/files/fam-2.7.0-sysmacros.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/app-admin/fam/files/fam-2.7.0-sysmacros.patch b/app-admin/fam/files/fam-2.7.0-sysmacros.patch
new file mode 100644
index 000000000000..ac42dca3bea6
--- /dev/null
+++ b/app-admin/fam/files/fam-2.7.0-sysmacros.patch
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/580702
+
+fix build with newer glibc where sys/sysmacros.h isn't implicitly included
+by sys/types.h
+
+--- a/src/DNotify.c++
++++ b/src/DNotify.c++
+@@ -32,6 +32,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <unistd.h>
++#include <sys/sysmacros.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <libgen.h>