diff options
-rw-r--r-- | meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.1.0.bb | 1 | ||||
-rw-r--r-- | meta-oe/recipes-core/dbus-cxx/files/0001-include-utility-header.patch | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.1.0.bb b/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.1.0.bb index 487681c92d..c8dabc5ead 100644 --- a/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.1.0.bb +++ b/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.1.0.bb | |||
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4cf0188f02184e1e84b9586ac53c3f83" | |||
7 | 7 | ||
8 | SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master;protocol=https \ | 8 | SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master;protocol=https \ |
9 | file://0001-Include-typeinfo-for-typeid.patch \ | 9 | file://0001-Include-typeinfo-for-typeid.patch \ |
10 | file://0001-include-utility-header.patch \ | ||
10 | " | 11 | " |
11 | SRC_URI:append:libc-musl = "file://fix_build_musl.patch" | 12 | SRC_URI:append:libc-musl = "file://fix_build_musl.patch" |
12 | SRCREV = "73532d6a5faae9c721c2cc9535b8ef32d4d18264" | 13 | SRCREV = "73532d6a5faae9c721c2cc9535b8ef32d4d18264" |
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 | |||