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>
This commit is contained in:
Alexander Kanavin
2021-08-22 14:51:03 +02:00
committed by Richard Purdie
parent 70cf1cf5e5
commit 6f4afe940c
2 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
From 11981d637273778f408d15f488cc9e1d244dcae8 Mon Sep 17 00:00:00 2001
From: Andrei Pavel <andrei@isc.org>
Date: Thu, 29 Jul 2021 21:33:42 +0300
Subject: [PATCH] add missing headers in timer_mgr.cc
Upstream-Status: Backport [https://github.com/isc-projects/kea/commit/2bba96164f6c5c8f56de7a5dc52af73bfd51cccd]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
src/lib/dhcpsrv/timer_mgr.cc | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/lib/dhcpsrv/timer_mgr.cc b/src/lib/dhcpsrv/timer_mgr.cc
index 5ec4123..5611c46 100644
--- a/src/lib/dhcpsrv/timer_mgr.cc
+++ b/src/lib/dhcpsrv/timer_mgr.cc
@@ -14,6 +14,13 @@
#include <functional>
#include <utility>
+#include <exception>
+#include <map>
+#include <mutex>
+#include <ostream>
+#include <string>
+#include <stddef.h>
+
using namespace isc;
using namespace isc::asiolink;

View File

@@ -20,6 +20,7 @@ SRC_URI = "http://ftp.isc.org/isc/kea/${PV}/${BP}.tar.gz \
file://0001-src-lib-log-logger_unittest_support.cc-do-not-write-.patch \
file://0001-ax_cpp11.m4-Include-memory-header.patch \
file://0001-include-limits.h.patch \
file://0001-add-missing-headers-in-timer_mgr.cc.patch \
"
SRC_URI[sha256sum] = "486ca7abedb9d6fdf8e4344ad8688d1171f2ef0f5506d118988aadeae80a1d39"