From: Francesco Turco Date: Thu, 17 Aug 2017 16:50:46 +0000 (+0200) Subject: sys-fs/duperemove: fix sysmacros.h error w/ new sys-libs/glibc X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=43a25b2ec519c451a224020b42ce96a45bf782c6;p=gentoo.git sys-fs/duperemove: fix sysmacros.h error w/ new sys-libs/glibc Taken from https://github.com/markfasheh/duperemove/pull/169 Bug: https://bugs.gentoo.org/607376 Closes: https://github.com/gentoo/gentoo/pull/5464 --- diff --git a/sys-fs/duperemove/duperemove-0.11_beta4.ebuild b/sys-fs/duperemove/duperemove-0.11_beta4.ebuild index d3ed853c233c..6b7691b19fa5 100644 --- a/sys-fs/duperemove/duperemove-0.11_beta4.ebuild +++ b/sys-fs/duperemove/duperemove-0.11_beta4.ebuild @@ -23,6 +23,8 @@ DEPEND="${RDEPEND}" S=${WORKDIR}/${P/_/.} +PATCHES=( "${FILESDIR}/${P}-sysmacros.patch" ) + src_compile() { emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall" } diff --git a/sys-fs/duperemove/files/duperemove-0.11_beta4-sysmacros.patch b/sys-fs/duperemove/files/duperemove-0.11_beta4-sysmacros.patch new file mode 100644 index 000000000000..6355f5e9146f --- /dev/null +++ b/sys-fs/duperemove/files/duperemove-0.11_beta4-sysmacros.patch @@ -0,0 +1,10 @@ +--- a/dbfile.c 2016-09-27 22:28:49.000000000 +0200 ++++ b/dbfile.c 2017-08-17 18:23:30.768591897 +0200 +@@ -8,6 +8,7 @@ + #include + #include + #include ++#include + + #include "csum.h" + #include "filerec.h"