diff options
-rw-r--r-- | meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.3.1.bb (renamed from meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.1.0.bb) | 12 | ||||
-rw-r--r-- | meta-oe/recipes-core/dbus-cxx/files/0001-Include-typeinfo-for-typeid.patch | 29 | ||||
-rw-r--r-- | meta-oe/recipes-core/dbus-cxx/files/0001-include-utility-header.patch | 32 | ||||
-rw-r--r-- | meta-oe/recipes-core/dbus-cxx/files/fix_build_musl.patch | 12 |
4 files changed, 4 insertions, 81 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.3.1.bb index bf1220788e..7af62b7418 100644 --- a/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.1.0.bb +++ b/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.3.1.bb | |||
@@ -2,16 +2,12 @@ SUMMARY = "D-Bus wrapper in C++ for dbus" | |||
2 | HOMEPAGE = "https://dbus-cxx.github.io/" | 2 | HOMEPAGE = "https://dbus-cxx.github.io/" |
3 | BUGTRACKER = "https://github.com/libsigcplusplus/libsigcplusplus/issues" | 3 | BUGTRACKER = "https://github.com/libsigcplusplus/libsigcplusplus/issues" |
4 | SECTION = "base" | 4 | SECTION = "base" |
5 | LICENSE = "GPL-3.0-only" | 5 | LICENSE = "LGPL-3.0-or-later | BSD-3-Clause" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=4cf0188f02184e1e84b9586ac53c3f83" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=24594f493407a4cd401ce9794e0b9308" |
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-missing-cstdint.patch" |
10 | file://0001-include-utility-header.patch \ | 10 | SRCREV = "898f6ea8f7ffe454e81a9337002df555728d4199" |
11 | file://0001-Include-missing-cstdint.patch \ | ||
12 | " | ||
13 | SRC_URI:append:libc-musl = " file://fix_build_musl.patch" | ||
14 | SRCREV = "73532d6a5faae9c721c2cc9535b8ef32d4d18264" | ||
15 | 11 | ||
16 | DEPENDS = "\ | 12 | DEPENDS = "\ |
17 | dbus \ | 13 | dbus \ |
diff --git a/meta-oe/recipes-core/dbus-cxx/files/0001-Include-typeinfo-for-typeid.patch b/meta-oe/recipes-core/dbus-cxx/files/0001-Include-typeinfo-for-typeid.patch deleted file mode 100644 index 9117877403..0000000000 --- a/meta-oe/recipes-core/dbus-cxx/files/0001-Include-typeinfo-for-typeid.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From e262b6e7cc6271d71405f10c4817b9b3b2b95f05 Mon Sep 17 00:00:00 2001 | ||
2 | From: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> | ||
3 | Date: Mon, 13 Dec 2021 02:00:48 +0100 | ||
4 | Subject: [PATCH] Include typeinfo for typeid() | ||
5 | |||
6 | Otherwise fails with: | ||
7 | error: must '#include <typeinfo>' before using 'typeid' | ||
8 | |||
9 | Upstream-Status: Submitted | ||
10 | [https://github.com/dbus-cxx/dbus-cxx/pull/83] | ||
11 | --- | ||
12 | dbus-cxx/demangle.h | 1 + | ||
13 | 1 file changed, 1 insertion(+) | ||
14 | |||
15 | diff --git a/dbus-cxx/demangle.h b/dbus-cxx/demangle.h | ||
16 | index b71bcb9..9a4e99b 100644 | ||
17 | --- a/dbus-cxx/demangle.h | ||
18 | +++ b/dbus-cxx/demangle.h | ||
19 | @@ -21,6 +21,7 @@ | ||
20 | #define DBUSCXX_DEMANGLE_H | ||
21 | |||
22 | #include <string> | ||
23 | +#include <typeinfo> | ||
24 | #include <dbus-cxx/dbus-cxx-config.h> | ||
25 | |||
26 | #if DBUS_CXX_HAS_CXXABI_H | ||
27 | -- | ||
28 | 2.25.1 | ||
29 | |||
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 deleted file mode 100644 index 0c8262af75..0000000000 --- a/meta-oe/recipes-core/dbus-cxx/files/0001-include-utility-header.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
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 | |||
diff --git a/meta-oe/recipes-core/dbus-cxx/files/fix_build_musl.patch b/meta-oe/recipes-core/dbus-cxx/files/fix_build_musl.patch deleted file mode 100644 index e55d987e43..0000000000 --- a/meta-oe/recipes-core/dbus-cxx/files/fix_build_musl.patch +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | diff --git a/dbus-cxx/sasl.cpp b/dbus-cxx/sasl.cpp | ||
2 | index e8a6060..7a76af6 100644 | ||
3 | --- a/dbus-cxx/sasl.cpp | ||
4 | +++ b/dbus-cxx/sasl.cpp | ||
5 | @@ -70,7 +70,7 @@ std::tuple<bool, bool, std::vector<uint8_t>> SASL::authenticate() { | ||
6 | bool success = false; | ||
7 | bool negotiatedFD = false; | ||
8 | std::vector<uint8_t> serverGUID; | ||
9 | - __uid_t uid = getuid(); | ||
10 | + uid_t uid = getuid(); | ||
11 | std::string line; | ||
12 | std::smatch regex_match; | ||