app-misc/vifm: Restores dropped lines in bump
authorChema Alonso Josa <nimiux@gentoo.org>
Wed, 21 Jun 2017 11:36:05 +0000 (13:36 +0200)
committerChema Alonso Josa <nimiux@gentoo.org>
Wed, 21 Jun 2017 11:36:38 +0000 (13:36 +0200)
Fixes bug #581020

Package-Manager: Portage-2.3.5, Repoman-2.3.1

app-misc/vifm/vifm-0.9.ebuild

index 4e0b17ce87a2311545635deed821d14eb7e905ed..62bd10bafc5073ac3d1a0d4fe2181beb2d134084 100644 (file)
@@ -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
 }