summaryrefslogtreecommitdiff
path: root/app-admin/fam/files/fam-2.7.0-sysmacros.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/fam/files/fam-2.7.0-sysmacros.patch')
-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>