sys-fs/inotify-tools: removed unused command line argument

as result we get successful compilation with clang

Signed-off-by: Denis Pronin <dannftk@yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/14755
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
Denis Pronin
2020-02-23 20:48:46 +03:00
committed by Lars Wendler
parent bfa4622ef7
commit 9cf0bcbd61
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- inotify-tools-3.20.1/src/Makefile.am
+++ inotify-tools-3.20.1/src/Makefile.am
@@ -2,7 +2,7 @@
inotifywait_SOURCES = inotifywait.c common.c common.h
inotifywatch_SOURCES = inotifywatch.c common.c common.h
-AM_CFLAGS = -Wall -Werror -Wpointer-arith -std=c99 -I../libinotifytools/src -L../libinotifytools/src
+AM_CFLAGS = -Wall -Werror -Wpointer-arith -std=c99 -I../libinotifytools/src
AM_CPPFLAGS = -I$(top_srcdir)/libinotifytools/src
LDADD = ../libinotifytools/src/libinotifytools.la

View File

@@ -17,6 +17,8 @@ IUSE="doc"
DEPEND="doc? ( app-doc/doxygen )"
RDEPEND=""
PATCHES=( "${FILESDIR}/${P}-rm-unused-cmd-arg.patch" )
src_prepare() {
default
eautoreconf