Skip to content

Commit

Permalink
app-arch/dump: fix build w/newer glibc #580204
Browse files Browse the repository at this point in the history
  • Loading branch information
vapier committed Apr 19, 2016
1 parent 998822c commit c397c14
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-arch/dump/dump-0.4.44-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
12 changes: 12 additions & 0 deletions app-arch/dump/files/dump-0.4.44-sysmacros.patch
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c397c14

Please sign in to comment.