summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/kea/files/0001-ax_cpp11.m4-Include-memory-header.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/kea/files/0001-ax_cpp11.m4-Include-memory-header.patch')
-rw-r--r--meta/recipes-connectivity/kea/files/0001-ax_cpp11.m4-Include-memory-header.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/recipes-connectivity/kea/files/0001-ax_cpp11.m4-Include-memory-header.patch b/meta/recipes-connectivity/kea/files/0001-ax_cpp11.m4-Include-memory-header.patch
deleted file mode 100644
index 4978cae87c..0000000000
--- a/meta/recipes-connectivity/kea/files/0001-ax_cpp11.m4-Include-memory-header.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1From 5314a4815006e3a42f3ce265d1597db700cdb784 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 26 Feb 2021 23:14:20 -0800
4Subject: [PATCH] ax_cpp11.m4: Include <memory> header
5
6This is needed for std::shared_ptr
7GCC-11 throws errors if header is not included
8
9Upstream-Status: Submitted [https://github.com/isc-projects/kea/pull/120]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 m4macros/ax_cpp11.m4 | 1 +
13 1 file changed, 1 insertion(+)
14
15--- a/m4macros/ax_cpp11.m4
16+++ b/m4macros/ax_cpp11.m4
17@@ -182,6 +182,7 @@ for retry in "none" "--std=c++11" "--std
18 AC_COMPILE_IFELSE(
19 [AC_LANG_PROGRAM(
20 [#include <thread>
21+ #include <memory>
22 std::shared_ptr<std::thread> th;],
23 [th.reset(new std::thread([[]]() { return; }));
24 th->join();])],