summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/vifm')
-rw-r--r--app-misc/vifm/vifm-0.9.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-misc/vifm/vifm-0.9.ebuild b/app-misc/vifm/vifm-0.9.ebuild
index 4e0b17ce87a2..62bd10bafc50 100644
--- a/app-misc/vifm/vifm-0.9.ebuild
+++ b/app-misc/vifm/vifm-0.9.ebuild
@@ -29,6 +29,8 @@ RDEPEND="
DOCS="AUTHORS FAQ NEWS README TODO"
src_prepare() {
+ sed -i -e '/stat.h/a#include <sys/sysmacros.h>' "${S}/src/modes/file_info.c" \
+ || die
eapply_user
eautoreconf
}