summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-19 18:17:34 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-19 18:18:12 -0400
commitc397c146f5089ce7f3e636381cc444b40293a48a (patch)
tree62f9f3f58618688a62697cdd857602c3b4195abf /app-arch
parentsys-auth/keystone: relax wsgi deps bug 580218 (diff)
downloadgentoo-c397c146f5089ce7f3e636381cc444b40293a48a.tar.gz
gentoo-c397c146f5089ce7f3e636381cc444b40293a48a.tar.bz2
gentoo-c397c146f5089ce7f3e636381cc444b40293a48a.zip
app-arch/dump: fix build w/newer glibc #580204
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/dump/dump-0.4.44-r2.ebuild1
-rw-r--r--app-arch/dump/files/dump-0.4.44-sysmacros.patch12
2 files changed, 13 insertions, 0 deletions
diff --git a/app-arch/dump/dump-0.4.44-r2.ebuild b/app-arch/dump/dump-0.4.44-r2.ebuild
index e1f140e2d8bb..8bcca188ccf3 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 000000000000..bda233ffa449
--- /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