diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-10-12 20:41:30 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-10-16 08:25:21 -0700 |
commit | 034a25f08511bd5e4b5609fd6e13cdcb49288c56 (patch) | |
tree | 4b17ec4a31a5113d25d8333797a6d5ed9f556646 /meta-networking | |
parent | 736d635047abfb7065d130107c98b8468352eab2 (diff) | |
download | meta-openembedded-034a25f08511bd5e4b5609fd6e13cdcb49288c56.tar.gz |
kronosnet: Correct path to poll.h
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-extended/kronosnet/kronosnet/0001-libknet-tests-Correct-include-path-for-poll.h.patch | 29 | ||||
-rw-r--r-- | meta-networking/recipes-extended/kronosnet/kronosnet_1.22.bb | 4 |
2 files changed, 32 insertions, 1 deletions
diff --git a/meta-networking/recipes-extended/kronosnet/kronosnet/0001-libknet-tests-Correct-include-path-for-poll.h.patch b/meta-networking/recipes-extended/kronosnet/kronosnet/0001-libknet-tests-Correct-include-path-for-poll.h.patch new file mode 100644 index 000000000..0d261fd4e --- /dev/null +++ b/meta-networking/recipes-extended/kronosnet/kronosnet/0001-libknet-tests-Correct-include-path-for-poll.h.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From cae68083fda5d4ca832ff3cc8a533454df2efe23 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 12 Oct 2021 20:35:53 -0700 | ||
4 | Subject: [PATCH] libknet/tests: Correct include path for poll.h | ||
5 | |||
6 | Fixes | ||
7 | /usr/include/sys/poll.h:1:2: error: redirec | ||
8 | ting incorrect #include <sys/poll.h> to <poll.h> [-Werror,-W#warnings] | ||
9 | | #warning redirecting incorrect #include <sys/poll.h> to <poll.h> | ||
10 | |||
11 | Upstream-Status: Submitted [https://github.com/kronosnet/kronosnet/pull/363] | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | --- | ||
14 | libknet/tests/test-common.c | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/libknet/tests/test-common.c b/libknet/tests/test-common.c | ||
18 | index 86b76b0..8f8b6ca 100644 | ||
19 | --- a/libknet/tests/test-common.c | ||
20 | +++ b/libknet/tests/test-common.c | ||
21 | @@ -20,7 +20,7 @@ | ||
22 | #include <pthread.h> | ||
23 | #include <dirent.h> | ||
24 | #include <sys/select.h> | ||
25 | -#include <sys/poll.h> | ||
26 | +#include <poll.h> | ||
27 | |||
28 | #include "libknet.h" | ||
29 | #include "test-common.h" | ||
diff --git a/meta-networking/recipes-extended/kronosnet/kronosnet_1.22.bb b/meta-networking/recipes-extended/kronosnet/kronosnet_1.22.bb index 3d49a2365..28d740cb4 100644 --- a/meta-networking/recipes-extended/kronosnet/kronosnet_1.22.bb +++ b/meta-networking/recipes-extended/kronosnet/kronosnet_1.22.bb | |||
@@ -12,7 +12,9 @@ SECTION = "libs" | |||
12 | DEPENDS = "doxygen-native libqb-native libxml2-native bzip2 libqb libxml2 libnl lksctp-tools lz4 lzo openssl nss xz zlib zstd" | 12 | DEPENDS = "doxygen-native libqb-native libxml2-native bzip2 libqb libxml2 libnl lksctp-tools lz4 lzo openssl nss xz zlib zstd" |
13 | 13 | ||
14 | SRCREV = "0123ecebce0ad6aba3cdb320027192e15fd71e23" | 14 | SRCREV = "0123ecebce0ad6aba3cdb320027192e15fd71e23" |
15 | SRC_URI = "git://github.com/kronosnet/kronosnet;protocol=https;branch=stable1" | 15 | SRC_URI = "git://github.com/kronosnet/kronosnet;protocol=https;branch=stable1 \ |
16 | file://0001-libknet-tests-Correct-include-path-for-poll.h.patch \ | ||
17 | " | ||
16 | 18 | ||
17 | UPSTREAM_CHECK_URI = "https://github.com/kronosnet/kronosnet/releases" | 19 | UPSTREAM_CHECK_URI = "https://github.com/kronosnet/kronosnet/releases" |
18 | 20 | ||