summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-20 00:10:35 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-20 00:10:35 -0400
commit260218be356dff03fce8c361684ec5376fe8e66b (patch)
tree00220dc4afef40b422001e79aba6301a5b5d69f8 /sys-fs/e4rat
parentdev-util/fatrace: fix build w/newer glibc #580082 (diff)
downloadgentoo-260218be356dff03fce8c361684ec5376fe8e66b.tar.gz
gentoo-260218be356dff03fce8c361684ec5376fe8e66b.tar.bz2
gentoo-260218be356dff03fce8c361684ec5376fe8e66b.zip
sys-fs/e4rat: fix build w/newer glibc #580534
Diffstat (limited to 'sys-fs/e4rat')
-rw-r--r--sys-fs/e4rat/e4rat-0.2.4_pre20141201.ebuild1
-rw-r--r--sys-fs/e4rat/files/e4rat-0.2.4-sysmacros.patch13
2 files changed, 14 insertions, 0 deletions
diff --git a/sys-fs/e4rat/e4rat-0.2.4_pre20141201.ebuild b/sys-fs/e4rat/e4rat-0.2.4_pre20141201.ebuild
index 6620ba56368a..7bbee6565e1f 100644
--- a/sys-fs/e4rat/e4rat-0.2.4_pre20141201.ebuild
+++ b/sys-fs/e4rat/e4rat-0.2.4_pre20141201.ebuild
@@ -32,6 +32,7 @@ CONFIG_CHECK="~AUDITSYSCALL"
PATCHES=(
"${FILESDIR}"/${PN}-0.2.2-shared-build.patch
"${FILESDIR}"/${PN}-0.2.2-libdir.patch
+ "${FILESDIR}"/${PN}-0.2.4-sysmacros.patch #580534
)
pkg_setup() {
diff --git a/sys-fs/e4rat/files/e4rat-0.2.4-sysmacros.patch b/sys-fs/e4rat/files/e4rat-0.2.4-sysmacros.patch
new file mode 100644
index 000000000000..5cdcf3f05ae5
--- /dev/null
+++ b/sys-fs/e4rat/files/e4rat-0.2.4-sysmacros.patch
@@ -0,0 +1,13 @@
+https://sourceforge.net/p/e4rat/tickets/5/
+https://bugs.gentoo.org/580534
+
+--- a/src/common.hh
++++ b/src/common.hh
+@@ -20,6 +20,7 @@
+ #ifndef COMMON_HH
+ #define COMMON_HH
+
++#include <sys/sysmacros.h>
+ #include <linux/types.h>
+ #include <boost/filesystem.hpp>
+ #include <boost/regex.hpp>