commit: c397c146f5089ce7f3e636381cc444b40293a48a
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 19 22:17:34 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Apr 19 22:18:12 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c397c146
app-arch/dump: fix build w/newer glibc #580204
app-arch/dump/dump-0.4.44-r2.ebuild | 1 +
app-arch/dump/files/dump-0.4.44-sysmacros.patch | 12 ++++++++++++
2 files changed, 13 insertions(+)
diff --git a/app-arch/dump/dump-0.4.44-r2.ebuild
b/app-arch/dump/dump-0.4.44-r2.ebuild
index e1f140e..8bcca18 100644
--- a/app-arch/dump/dump-0.4.44-r2.ebuild
+++ b/app-arch/dump/dump-0.4.44-r2.ebuild
@@ -36,6 +36,7 @@ src_prepare() {
epatch "${FILESDIR}/${P}-underlinking.patch"
epatch "${FILESDIR}/${P}-rl_completion_matches-detection.patch"
epatch "${FILESDIR}/${P}-fix-pointers-aliasing.patch"
+ epatch "${FILESDIR}/${P}-sysmacros.patch" #580204
eautoreconf
}
diff --git a/app-arch/dump/files/dump-0.4.44-sysmacros.patch
b/app-arch/dump/files/dump-0.4.44-sysmacros.patch
new file mode 100644
index 0000000..bda233f
--- /dev/null
+++ b/app-arch/dump/files/dump-0.4.44-sysmacros.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/580204
+
+--- a/restore/tape.c
++++ b/restore/tape.c
+@@ -65,6 +65,7 @@
+ #include <sys/un.h>
+
+ #ifdef __linux__
++#include <sys/sysmacros.h>
+ #include <sys/time.h>
+ #include <time.h>
+ #ifdef HAVE_EXT2FS_EXT2_FS_H