Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/inotify-tools/, sys-fs/inotify-tools/files/
Date: Tue, 25 Feb 2020 08:58:52
Message-Id: 1582621123.9cf0bcbd6170b6f95579c217cf445d1b9ad3779e.polynomial-c@gentoo
1 commit: 9cf0bcbd6170b6f95579c217cf445d1b9ad3779e
2 Author: Denis Pronin <dannftk <AT> yandex <DOT> ru>
3 AuthorDate: Sun Feb 23 17:48:46 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 25 08:58:43 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cf0bcbd
7
8 sys-fs/inotify-tools: removed unused command line argument
9
10 as result we get successful compilation with clang
11
12 Signed-off-by: Denis Pronin <dannftk <AT> yandex.ru>
13 Closes: https://github.com/gentoo/gentoo/pull/14755
14 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
15
16 .../files/inotify-tools-3.20.1-rm-unused-cmd-arg.patch | 11 +++++++++++
17 sys-fs/inotify-tools/inotify-tools-3.20.1.ebuild | 2 ++
18 2 files changed, 13 insertions(+)
19
20 diff --git a/sys-fs/inotify-tools/files/inotify-tools-3.20.1-rm-unused-cmd-arg.patch b/sys-fs/inotify-tools/files/inotify-tools-3.20.1-rm-unused-cmd-arg.patch
21 new file mode 100644
22 index 00000000000..8c4f6f510e2
23 --- /dev/null
24 +++ b/sys-fs/inotify-tools/files/inotify-tools-3.20.1-rm-unused-cmd-arg.patch
25 @@ -0,0 +1,11 @@
26 +--- inotify-tools-3.20.1/src/Makefile.am
27 ++++ inotify-tools-3.20.1/src/Makefile.am
28 +@@ -2,7 +2,7 @@
29 + inotifywait_SOURCES = inotifywait.c common.c common.h
30 + inotifywatch_SOURCES = inotifywatch.c common.c common.h
31 +
32 +-AM_CFLAGS = -Wall -Werror -Wpointer-arith -std=c99 -I../libinotifytools/src -L../libinotifytools/src
33 ++AM_CFLAGS = -Wall -Werror -Wpointer-arith -std=c99 -I../libinotifytools/src
34 + AM_CPPFLAGS = -I$(top_srcdir)/libinotifytools/src
35 + LDADD = ../libinotifytools/src/libinotifytools.la
36 +
37
38 diff --git a/sys-fs/inotify-tools/inotify-tools-3.20.1.ebuild b/sys-fs/inotify-tools/inotify-tools-3.20.1.ebuild
39 index 596dc81c50b..34e25a33f64 100644
40 --- a/sys-fs/inotify-tools/inotify-tools-3.20.1.ebuild
41 +++ b/sys-fs/inotify-tools/inotify-tools-3.20.1.ebuild
42 @@ -17,6 +17,8 @@ IUSE="doc"
43 DEPEND="doc? ( app-doc/doxygen )"
44 RDEPEND=""
45
46 +PATCHES=( "${FILESDIR}/${P}-rm-unused-cmd-arg.patch" )
47 +
48 src_prepare() {
49 default
50 eautoreconf