commit: 29564fa547bc396bcd59742a8ee9d5707766c112
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 8 03:39:26 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Mar 8 03:44:56 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29564fa5
sys-apps/findutils: fix building w/newer glibc
sys-apps/findutils/findutils-4.6.0.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sys-apps/findutils/findutils-4.6.0.ebuild
b/sys-apps/findutils/findutils-4.6.0.ebuild
index 935a16c..2c394d0 100644
--- a/sys-apps/findutils/findutils-4.6.0.ebuild
+++ b/sys-apps/findutils/findutils-4.6.0.ebuild
@@ -31,6 +31,10 @@ src_prepare() {
# Don't build or install locate because it conflicts with slocate,
# which is a secure version of locate. See bug 18729
sed -i '/^SUBDIRS/s/locate//' Makefile.in
+
+ # Newer C libraries omit this include from sys/types.h.
+ # https://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00018.html
+ sed -i '1i#include <sys/sysmacros.h>' gl/lib/mountlist.c || die
}
src_configure() {