Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/duperemove/files/, sys-fs/duperemove/
Date: Sat, 02 Sep 2017 09:20:37
Message-Id: 1504343823.43a25b2ec519c451a224020b42ce96a45bf782c6.mgorny@gentoo
1 commit: 43a25b2ec519c451a224020b42ce96a45bf782c6
2 Author: Francesco Turco <fturco <AT> fastmail <DOT> fm>
3 AuthorDate: Thu Aug 17 16:50:46 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 2 09:17:03 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43a25b2e
7
8 sys-fs/duperemove: fix sysmacros.h error w/ new sys-libs/glibc
9
10 Taken from https://github.com/markfasheh/duperemove/pull/169
11
12 Bug: https://bugs.gentoo.org/607376
13 Closes: https://github.com/gentoo/gentoo/pull/5464
14
15 sys-fs/duperemove/duperemove-0.11_beta4.ebuild | 2 ++
16 sys-fs/duperemove/files/duperemove-0.11_beta4-sysmacros.patch | 10 ++++++++++
17 2 files changed, 12 insertions(+)
18
19 diff --git a/sys-fs/duperemove/duperemove-0.11_beta4.ebuild b/sys-fs/duperemove/duperemove-0.11_beta4.ebuild
20 index d3ed853c233..6b7691b19fa 100644
21 --- a/sys-fs/duperemove/duperemove-0.11_beta4.ebuild
22 +++ b/sys-fs/duperemove/duperemove-0.11_beta4.ebuild
23 @@ -23,6 +23,8 @@ DEPEND="${RDEPEND}"
24
25 S=${WORKDIR}/${P/_/.}
26
27 +PATCHES=( "${FILESDIR}/${P}-sysmacros.patch" )
28 +
29 src_compile() {
30 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall"
31 }
32
33 diff --git a/sys-fs/duperemove/files/duperemove-0.11_beta4-sysmacros.patch b/sys-fs/duperemove/files/duperemove-0.11_beta4-sysmacros.patch
34 new file mode 100644
35 index 00000000000..6355f5e9146
36 --- /dev/null
37 +++ b/sys-fs/duperemove/files/duperemove-0.11_beta4-sysmacros.patch
38 @@ -0,0 +1,10 @@
39 +--- a/dbfile.c 2016-09-27 22:28:49.000000000 +0200
40 ++++ b/dbfile.c 2017-08-17 18:23:30.768591897 +0200
41 +@@ -8,6 +8,7 @@
42 + #include <inttypes.h>
43 + #include <stddef.h>
44 + #include <sys/types.h>
45 ++#include <sys/sysmacros.h>
46 +
47 + #include "csum.h"
48 + #include "filerec.h"