summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorDenis Pronin <dannftk@yandex.ru>2020-02-23 20:48:46 +0300
committerLars Wendler <polynomial-c@gentoo.org>2020-02-25 09:58:43 +0100
commit9cf0bcbd6170b6f95579c217cf445d1b9ad3779e (patch)
tree4d63e9bf173c0f2963d17ff05adc6dfd9f85c4cd /sys-fs
parentnet-ftp/proftpd: bump up to 1.3.6c, bug #710730 (diff)
downloadgentoo-9cf0bcbd6170b6f95579c217cf445d1b9ad3779e.tar.gz
gentoo-9cf0bcbd6170b6f95579c217cf445d1b9ad3779e.tar.bz2
gentoo-9cf0bcbd6170b6f95579c217cf445d1b9ad3779e.zip
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>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/inotify-tools/files/inotify-tools-3.20.1-rm-unused-cmd-arg.patch11
-rw-r--r--sys-fs/inotify-tools/inotify-tools-3.20.1.ebuild2
2 files changed, 13 insertions, 0 deletions
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
new file mode 100644
index 000000000000..8c4f6f510e2f
--- /dev/null
+++ b/sys-fs/inotify-tools/files/inotify-tools-3.20.1-rm-unused-cmd-arg.patch
@@ -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
+
diff --git a/sys-fs/inotify-tools/inotify-tools-3.20.1.ebuild b/sys-fs/inotify-tools/inotify-tools-3.20.1.ebuild
index 596dc81c50b1..34e25a33f645 100644
--- a/sys-fs/inotify-tools/inotify-tools-3.20.1.ebuild
+++ b/sys-fs/inotify-tools/inotify-tools-3.20.1.ebuild
@@ -17,6 +17,8 @@ IUSE="doc"
DEPEND="doc? ( app-doc/doxygen )"
RDEPEND=""
+PATCHES=( "${FILESDIR}/${P}-rm-unused-cmd-arg.patch" )
+
src_prepare() {
default
eautoreconf