summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-10-12 20:41:30 -0700
committerKhem Raj <raj.khem@gmail.com>2021-10-16 08:25:21 -0700
commit034a25f08511bd5e4b5609fd6e13cdcb49288c56 (patch)
tree4b17ec4a31a5113d25d8333797a6d5ed9f556646 /meta-networking
parent736d635047abfb7065d130107c98b8468352eab2 (diff)
downloadmeta-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.patch29
-rw-r--r--meta-networking/recipes-extended/kronosnet/kronosnet_1.22.bb4
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 @@
1From cae68083fda5d4ca832ff3cc8a533454df2efe23 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 12 Oct 2021 20:35:53 -0700
4Subject: [PATCH] libknet/tests: Correct include path for poll.h
5
6Fixes
7/usr/include/sys/poll.h:1:2: error: redirec
8ting incorrect #include <sys/poll.h> to <poll.h> [-Werror,-W#warnings]
9| #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
10
11Upstream-Status: Submitted [https://github.com/kronosnet/kronosnet/pull/363]
12Signed-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
17diff --git a/libknet/tests/test-common.c b/libknet/tests/test-common.c
18index 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"
12DEPENDS = "doxygen-native libqb-native libxml2-native bzip2 libqb libxml2 libnl lksctp-tools lz4 lzo openssl nss xz zlib zstd" 12DEPENDS = "doxygen-native libqb-native libxml2-native bzip2 libqb libxml2 libnl lksctp-tools lz4 lzo openssl nss xz zlib zstd"
13 13
14SRCREV = "0123ecebce0ad6aba3cdb320027192e15fd71e23" 14SRCREV = "0123ecebce0ad6aba3cdb320027192e15fd71e23"
15SRC_URI = "git://github.com/kronosnet/kronosnet;protocol=https;branch=stable1" 15SRC_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
17UPSTREAM_CHECK_URI = "https://github.com/kronosnet/kronosnet/releases" 19UPSTREAM_CHECK_URI = "https://github.com/kronosnet/kronosnet/releases"
18 20