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-missing-cstdint.patch | 30 |
2 files changed, 31 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 44804545de..bf1220788e 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 | |||
| @@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4cf0188f02184e1e84b9586ac53c3f83" | |||
| 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 | file://0001-include-utility-header.patch \ |
| 11 | file://0001-Include-missing-cstdint.patch \ | ||
| 11 | " | 12 | " |
| 12 | SRC_URI:append:libc-musl = " file://fix_build_musl.patch" | 13 | SRC_URI:append:libc-musl = " file://fix_build_musl.patch" |
| 13 | SRCREV = "73532d6a5faae9c721c2cc9535b8ef32d4d18264" | 14 | SRCREV = "73532d6a5faae9c721c2cc9535b8ef32d4d18264" |
diff --git a/meta-oe/recipes-core/dbus-cxx/files/0001-Include-missing-cstdint.patch b/meta-oe/recipes-core/dbus-cxx/files/0001-Include-missing-cstdint.patch new file mode 100644 index 0000000000..4ad69eab42 --- /dev/null +++ b/meta-oe/recipes-core/dbus-cxx/files/0001-Include-missing-cstdint.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From 56e2cce87445d514c9992ecc19d03bb2115c82d6 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 25 Jan 2023 22:17:31 -0800 | ||
| 4 | Subject: [PATCH] Include missing <cstdint> | ||
| 5 | |||
| 6 | gcc 13 moved some includes around and as a result <cstdint> is no longer transitively included [1]. Explicitly include it for uint{32,64}_t. | ||
| 7 | |||
| 8 | [1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes | ||
| 9 | |||
| 10 | Upstream-Status: Submitted [https://github.com/dbus-cxx/dbus-cxx/pull/111] | ||
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 12 | --- | ||
| 13 | dbus-cxx/enums.h | 1 + | ||
| 14 | 1 file changed, 1 insertion(+) | ||
| 15 | |||
| 16 | diff --git a/dbus-cxx/enums.h b/dbus-cxx/enums.h | ||
| 17 | index 8253a4b..c793fad 100644 | ||
| 18 | --- a/dbus-cxx/enums.h | ||
| 19 | +++ b/dbus-cxx/enums.h | ||
| 20 | @@ -5,6 +5,7 @@ | ||
| 21 | * * | ||
| 22 | * This file is part of the dbus-cxx library. * | ||
| 23 | ***************************************************************************/ | ||
| 24 | +#include <cstdint> | ||
| 25 | #include <ostream> | ||
| 26 | |||
| 27 | #ifndef DBUSCXX_ENUMS_H | ||
| 28 | -- | ||
| 29 | 2.39.1 | ||
| 30 | |||
