diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-04-12 09:13:30 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-04-13 19:21:40 -0700 |
commit | b51d4b6d68d0103652cc1293fafa0ee92b6af198 (patch) | |
tree | 487bba608801f3b09c062b84e388efb872203c34 /meta-oe/recipes-core/dbus-cxx/files/0001-include-utility-header.patch | |
parent | e6f43e79953c79fc391cb78cbe05a58043073652 (diff) | |
download | meta-openembedded-b51d4b6d68d0103652cc1293fafa0ee92b6af198.tar.gz |
dbus-cxx: Include missing <utility> header
gcc-12 does error about this explicitly.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core/dbus-cxx/files/0001-include-utility-header.patch')
-rw-r--r-- | meta-oe/recipes-core/dbus-cxx/files/0001-include-utility-header.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/dbus-cxx/files/0001-include-utility-header.patch b/meta-oe/recipes-core/dbus-cxx/files/0001-include-utility-header.patch new file mode 100644 index 0000000000..0c8262af75 --- /dev/null +++ b/meta-oe/recipes-core/dbus-cxx/files/0001-include-utility-header.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 63170cfcfbf483716ce2599e165db80713fc2706 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 12 Apr 2022 06:47:19 -0700 | ||
4 | Subject: [PATCH] include utility header | ||
5 | |||
6 | Needed for exchange from std namespace | ||
7 | |||
8 | Fixes | ||
9 | dbus-cxx/variant.cpp:135:25: error: 'exchange' is not a member of 'std' | ||
10 | |||
11 | Upstream-Status: Submitted [https://github.com/dbus-cxx/dbus-cxx/pull/98] | ||
12 | |||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | --- | ||
15 | dbus-cxx/variant.cpp | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/dbus-cxx/variant.cpp b/dbus-cxx/variant.cpp | ||
19 | index bcf2684..97b622c 100644 | ||
20 | --- a/dbus-cxx/variant.cpp | ||
21 | +++ b/dbus-cxx/variant.cpp | ||
22 | @@ -11,6 +11,7 @@ | ||
23 | #include <dbus-cxx/dbus-cxx-private.h> | ||
24 | #include <dbus-cxx/signatureiterator.h> | ||
25 | #include <stdint.h> | ||
26 | +#include <utility> | ||
27 | #include "enums.h" | ||
28 | #include "path.h" | ||
29 | #include "signature.h" | ||
30 | -- | ||
31 | 2.35.1 | ||
32 | |||