diff options
author | Rosen Penev <rosenp@gmail.com> | 2021-06-09 00:37:18 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2021-06-10 16:13:30 -0700 |
commit | 8a13fb4c9d1bfe41b71c6951cb8ff7cc8edb9ff5 (patch) | |
tree | dc72190854542b5508478838ff79bca33a943c1a /net/kea/patches | |
parent | 9fdfe2e2c76aa08c1653cee97e9ce25f19286207 (diff) |
kea: update to 1.8.2
Backport upstream patch fixing host compilation with GCC11.
Switched to AUTORELEASE for simplicity.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'net/kea/patches')
-rw-r--r-- | net/kea/patches/020-shared_ptr.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net/kea/patches/020-shared_ptr.patch b/net/kea/patches/020-shared_ptr.patch new file mode 100644 index 000000000..0231d2718 --- /dev/null +++ b/net/kea/patches/020-shared_ptr.patch @@ -0,0 +1,24 @@ +From d505f7a7d6fac1c00a4467dfcf1e84f2db508bc6 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Fri, 26 Feb 2021 23:14:20 -0800 +Subject: [PATCH] ax_cpp11.m4: Include <memory> header + +This is needed for std::shared_ptr +GCC-11 throws errors if header is not included + +Upstream-Status: Pending +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + m4macros/ax_cpp11.m4 | 1 + + 1 file changed, 1 insertion(+) + +--- a/m4macros/ax_cpp11.m4 ++++ b/m4macros/ax_cpp11.m4 +@@ -182,6 +182,7 @@ for retry in "none" "--std=c++11" "--std + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [#include <thread> ++ #include <memory> + std::shared_ptr<std::thread> th;], + [th.reset(new std::thread([[]]() { return; })); + th->join();])], |