diff options
Diffstat (limited to 'meta-networking/recipes-extended')
-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 0000000000..0d261fd4ef --- /dev/null +++ b/meta-networking/recipes-extended/kronosnet/kronosnet/0001-libknet-tests-Correct-include-path-for-poll.h.patch @@ -0,0 +1,29 @@ +From cae68083fda5d4ca832ff3cc8a533454df2efe23 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Tue, 12 Oct 2021 20:35:53 -0700 +Subject: [PATCH] libknet/tests: Correct include path for poll.h + +Fixes +/usr/include/sys/poll.h:1:2: error: redirec +ting incorrect #include <sys/poll.h> to <poll.h> [-Werror,-W#warnings] +| #warning redirecting incorrect #include <sys/poll.h> to <poll.h> + +Upstream-Status: Submitted [https://github.com/kronosnet/kronosnet/pull/363] +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + libknet/tests/test-common.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libknet/tests/test-common.c b/libknet/tests/test-common.c +index 86b76b0..8f8b6ca 100644 +--- a/libknet/tests/test-common.c ++++ b/libknet/tests/test-common.c +@@ -20,7 +20,7 @@ + #include <pthread.h> + #include <dirent.h> + #include <sys/select.h> +-#include <sys/poll.h> ++#include <poll.h> + + #include "libknet.h" + #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 3d49a2365a..28d740cb41 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" DEPENDS = "doxygen-native libqb-native libxml2-native bzip2 libqb libxml2 libnl lksctp-tools lz4 lzo openssl nss xz zlib zstd" SRCREV = "0123ecebce0ad6aba3cdb320027192e15fd71e23" -SRC_URI = "git://github.com/kronosnet/kronosnet;protocol=https;branch=stable1" +SRC_URI = "git://github.com/kronosnet/kronosnet;protocol=https;branch=stable1 \ + file://0001-libknet-tests-Correct-include-path-for-poll.h.patch \ + " UPSTREAM_CHECK_URI = "https://github.com/kronosnet/kronosnet/releases" |