commit: 43a25b2ec519c451a224020b42ce96a45bf782c6 Author: Francesco Turco <fturco <AT> fastmail <DOT> fm> AuthorDate: Thu Aug 17 16:50:46 2017 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Sep 2 09:17:03 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43a25b2e
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 sys-fs/duperemove/duperemove-0.11_beta4.ebuild | 2 ++ sys-fs/duperemove/files/duperemove-0.11_beta4-sysmacros.patch | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/sys-fs/duperemove/duperemove-0.11_beta4.ebuild b/sys-fs/duperemove/duperemove-0.11_beta4.ebuild index d3ed853c233..6b7691b19fa 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 00000000000..6355f5e9146 --- /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 <inttypes.h> + #include <stddef.h> + #include <sys/types.h> ++#include <sys/sysmacros.h> + + #include "csum.h" + #include "filerec.h"
