summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-08-22 14:51:03 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-23 08:25:53 +0100
commit6f4afe940c90be9d03041a54f320719508cb14cc (patch)
tree29f73d5a66b259dd1630561c02b80a748817ae79
parent70cf1cf5e55236394131d4160c18088c869f3b6a (diff)
downloadpoky-6f4afe940c90be9d03041a54f320719508cb14cc.tar.gz
kea: backport a patch to fix build errors exposed by latest update batch
(From OE-Core rev: 043e32278e91843277143777b27a498fa27f0a8f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-connectivity/kea/files/0001-add-missing-headers-in-timer_mgr.cc.patch29
-rw-r--r--meta/recipes-connectivity/kea/kea_1.8.2.bb1
2 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/kea/files/0001-add-missing-headers-in-timer_mgr.cc.patch b/meta/recipes-connectivity/kea/files/0001-add-missing-headers-in-timer_mgr.cc.patch
new file mode 100644
index 0000000000..1cd8bc70f5
--- /dev/null
+++ b/meta/recipes-connectivity/kea/files/0001-add-missing-headers-in-timer_mgr.cc.patch
@@ -0,0 +1,29 @@
1From 11981d637273778f408d15f488cc9e1d244dcae8 Mon Sep 17 00:00:00 2001
2From: Andrei Pavel <andrei@isc.org>
3Date: Thu, 29 Jul 2021 21:33:42 +0300
4Subject: [PATCH] add missing headers in timer_mgr.cc
5
6Upstream-Status: Backport [https://github.com/isc-projects/kea/commit/2bba96164f6c5c8f56de7a5dc52af73bfd51cccd]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 src/lib/dhcpsrv/timer_mgr.cc | 7 +++++++
10 1 file changed, 7 insertions(+)
11
12diff --git a/src/lib/dhcpsrv/timer_mgr.cc b/src/lib/dhcpsrv/timer_mgr.cc
13index 5ec4123..5611c46 100644
14--- a/src/lib/dhcpsrv/timer_mgr.cc
15+++ b/src/lib/dhcpsrv/timer_mgr.cc
16@@ -14,6 +14,13 @@
17 #include <functional>
18 #include <utility>
19
20+#include <exception>
21+#include <map>
22+#include <mutex>
23+#include <ostream>
24+#include <string>
25+#include <stddef.h>
26+
27 using namespace isc;
28 using namespace isc::asiolink;
29
diff --git a/meta/recipes-connectivity/kea/kea_1.8.2.bb b/meta/recipes-connectivity/kea/kea_1.8.2.bb
index f1bbbc49e7..04424d0d70 100644
--- a/meta/recipes-connectivity/kea/kea_1.8.2.bb
+++ b/meta/recipes-connectivity/kea/kea_1.8.2.bb
@@ -20,6 +20,7 @@ SRC_URI = "http://ftp.isc.org/isc/kea/${PV}/${BP}.tar.gz \
20 file://0001-src-lib-log-logger_unittest_support.cc-do-not-write-.patch \ 20 file://0001-src-lib-log-logger_unittest_support.cc-do-not-write-.patch \
21 file://0001-ax_cpp11.m4-Include-memory-header.patch \ 21 file://0001-ax_cpp11.m4-Include-memory-header.patch \
22 file://0001-include-limits.h.patch \ 22 file://0001-include-limits.h.patch \
23 file://0001-add-missing-headers-in-timer_mgr.cc.patch \
23 " 24 "
24SRC_URI[sha256sum] = "486ca7abedb9d6fdf8e4344ad8688d1171f2ef0f5506d118988aadeae80a1d39" 25SRC_URI[sha256sum] = "486ca7abedb9d6fdf8e4344ad8688d1171f2ef0f5506d118988aadeae80a1d39"
25 26