summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsakib.sajal@windriver.com <sakib.sajal@windriver.com>2020-08-28 20:31:58 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-11-14 23:07:13 -0500
commit6687be2233ef7d9758ddb7ccd2b53e55282fcd05 (patch)
tree69899fd18019753048a814d83fd46c310685f498
parentf7687c8b22a45c0138f1293f17522e5cef121914 (diff)
downloadmeta-virtualization-6687be2233ef7d9758ddb7ccd2b53e55282fcd05.tar.gz
ceph: add missing include for atomic<bool>
ceph do_compile failed with error: src/tools/rbd/action/Bench.cc:20:26: error: aggregate 'std::atomic<bool> terminating' has incomplete type and cannot be defined Add missing include to fix it. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-extended/ceph/ceph/0001-add-missing-include-for-atomic-bool.patch25
-rw-r--r--recipes-extended/ceph/ceph_15.2.0.bb1
2 files changed, 26 insertions, 0 deletions
diff --git a/recipes-extended/ceph/ceph/0001-add-missing-include-for-atomic-bool.patch b/recipes-extended/ceph/ceph/0001-add-missing-include-for-atomic-bool.patch
new file mode 100644
index 00000000..ffcbc583
--- /dev/null
+++ b/recipes-extended/ceph/ceph/0001-add-missing-include-for-atomic-bool.patch
@@ -0,0 +1,25 @@
1From 502be73be3c3645094525aa552f5e53d8782a004 Mon Sep 17 00:00:00 2001
2From: Sakib Sajal <sakib.sajal@windriver.com>
3Date: Fri, 28 Aug 2020 19:36:19 -0400
4Subject: [PATCH] add missing include for atomic<bool>
5
6Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
7---
8 src/tools/rbd/action/Bench.cc | 1 +
9 1 file changed, 1 insertion(+)
10
11diff --git a/src/tools/rbd/action/Bench.cc b/src/tools/rbd/action/Bench.cc
12index aa6edbc1..90c551c1 100644
13--- a/src/tools/rbd/action/Bench.cc
14+++ b/src/tools/rbd/action/Bench.cc
15@@ -9,6 +9,7 @@
16 #include "common/ceph_mutex.h"
17 #include "include/types.h"
18 #include "global/signal_handler.h"
19+#include <atomic>
20 #include <iostream>
21 #include <boost/accumulators/accumulators.hpp>
22 #include <boost/accumulators/statistics/stats.hpp>
23--
242.27.0
25
diff --git a/recipes-extended/ceph/ceph_15.2.0.bb b/recipes-extended/ceph/ceph_15.2.0.bb
index 223a74e1..bdc794ff 100644
--- a/recipes-extended/ceph/ceph_15.2.0.bb
+++ b/recipes-extended/ceph/ceph_15.2.0.bb
@@ -20,6 +20,7 @@ SRC_URI = "http://download.ceph.com/tarballs/ceph-${PV}.tar.gz \
20 file://0001-mgr-require-all-caps-for-pre-octopus-tell-commands.patch \ 20 file://0001-mgr-require-all-caps-for-pre-octopus-tell-commands.patch \
21 file://0002-mon-enforce-caps-for-pre-octopus-client-tell-command.patch \ 21 file://0002-mon-enforce-caps-for-pre-octopus-client-tell-command.patch \
22 file://0003-PendingReleaseNotes-note-about-security-fix.patch \ 22 file://0003-PendingReleaseNotes-note-about-security-fix.patch \
23 file://0001-add-missing-include-for-atomic-bool.patch \
23" 24"
24 25
25SRC_URI[md5sum] = "1f9af648b4c6d19975aab2583ab99710" 26SRC_URI[md5sum] = "1f9af648b4c6d19975aab2583ab99710"