summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-05-10 14:55:10 +0300
committerKhem Raj <raj.khem@gmail.com>2019-05-10 14:07:54 -0700
commit772421e9e90e0a4c9654fae5fafed54efc15ace2 (patch)
tree9d1cd913fd83c8bf611e7dd2a99bf1f5c9e74446
parentb37b828eea8ad37777b1b67a903484d18e899647 (diff)
downloadmeta-openembedded-772421e9e90e0a4c9654fae5fafed54efc15ace2.tar.gz
inotify-tools: Upgrade 3.14 -> 3.20.1
Remove patch applied upstream. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/inotify-tools/inotify-tools/inotifywait-fix-compile-error-with-GCC-6.patch45
-rw-r--r--meta-oe/recipes-support/inotify-tools/inotify-tools_git.bb5
2 files changed, 2 insertions, 48 deletions
diff --git a/meta-oe/recipes-support/inotify-tools/inotify-tools/inotifywait-fix-compile-error-with-GCC-6.patch b/meta-oe/recipes-support/inotify-tools/inotify-tools/inotifywait-fix-compile-error-with-GCC-6.patch
deleted file mode 100644
index ba042a24b4..0000000000
--- a/meta-oe/recipes-support/inotify-tools/inotify-tools/inotifywait-fix-compile-error-with-GCC-6.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From 7affb288d6c0726e7b1ebc317a878927b6ef0d02 Mon Sep 17 00:00:00 2001
2From: Andrea Galbusera <gizero@gmail.com>
3Date: Tue, 13 Sep 2016 08:10:29 +0200
4Subject: [PATCH] inotifywait: fix compile error with GCC 6
5
6Fails to compile with misleading-indentation error
7
8| src/inotifywait.c: In function 'output_event_csv':
9| src/inotifywait.c:126:5: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
10| if (filename != NULL)
11| ^~
12| src/inotifywait.c:129:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
13| printf("%s,", csv_escape( inotifytools_event_to_str( event->mask ) ) );
14| ^~~~~~
15| cc1: all warnings being treated as errors
16
17Fix indentation to resolve.
18
19Upstream-Status: Submitted [https://github.com/rvoicilas/inotify-tools/pull/66]
20
21Signed-off-by: Andrea Galbusera <gizero@gmail.com>
22---
23 src/inotifywait.c | 6 +++---
24 1 file changed, 3 insertions(+), 3 deletions(-)
25
26diff --git a/src/inotifywait.c b/src/inotifywait.c
27index c5ce5e3..404a85b 100644
28--- a/src/inotifywait.c
29+++ b/src/inotifywait.c
30@@ -122,9 +122,9 @@ void validate_format( char * fmt ) {
31
32
33 void output_event_csv( struct inotify_event * event ) {
34- char *filename = csv_escape(inotifytools_filename_from_wd(event->wd));
35- if (filename != NULL)
36- printf("%s,", filename);
37+ char *filename = csv_escape(inotifytools_filename_from_wd(event->wd));
38+ if (filename != NULL)
39+ printf("%s,", filename);
40
41 printf("%s,", csv_escape( inotifytools_event_to_str( event->mask ) ) );
42 if ( event->len > 0 )
43--
441.9.1
45
diff --git a/meta-oe/recipes-support/inotify-tools/inotify-tools_git.bb b/meta-oe/recipes-support/inotify-tools/inotify-tools_git.bb
index efc753d5bf..05ca4b4ad5 100644
--- a/meta-oe/recipes-support/inotify-tools/inotify-tools_git.bb
+++ b/meta-oe/recipes-support/inotify-tools/inotify-tools_git.bb
@@ -5,11 +5,10 @@ SECTION = "console/devel"
5LICENSE = "GPL-2.0" 5LICENSE = "GPL-2.0"
6LIC_FILES_CHKSUM = "file://COPYING;md5=ac6c26e52aea428ee7f56dc2c56424c6" 6LIC_FILES_CHKSUM = "file://COPYING;md5=ac6c26e52aea428ee7f56dc2c56424c6"
7 7
8SRCREV = "1df9af4d6cd0f4af4b1b19254bcf056aed4ae395" 8SRCREV = "e203934e46784bb34c213078423ba1678e0c4936"
9PV = "3.14+git${SRCPV}" 9PV = "3.20.1"
10 10
11SRC_URI = "git://github.com/rvoicilas/${BPN} \ 11SRC_URI = "git://github.com/rvoicilas/${BPN} \
12 file://inotifywait-fix-compile-error-with-GCC-6.patch \
13 file://inotify-nosys-fix-system-call-number.patch \ 12 file://inotify-nosys-fix-system-call-number.patch \
14 " 13 "
15 14