mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
dbus-cxx: Fix build with gcc13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4cf0188f02184e1e84b9586ac53c3f83"
|
||||
SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master;protocol=https \
|
||||
file://0001-Include-typeinfo-for-typeid.patch \
|
||||
file://0001-include-utility-header.patch \
|
||||
file://0001-Include-missing-cstdint.patch \
|
||||
"
|
||||
SRC_URI:append:libc-musl = " file://fix_build_musl.patch"
|
||||
SRCREV = "73532d6a5faae9c721c2cc9535b8ef32d4d18264"
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
From 56e2cce87445d514c9992ecc19d03bb2115c82d6 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 25 Jan 2023 22:17:31 -0800
|
||||
Subject: [PATCH] Include missing <cstdint>
|
||||
|
||||
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.
|
||||
|
||||
[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/dbus-cxx/dbus-cxx/pull/111]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
dbus-cxx/enums.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/dbus-cxx/enums.h b/dbus-cxx/enums.h
|
||||
index 8253a4b..c793fad 100644
|
||||
--- a/dbus-cxx/enums.h
|
||||
+++ b/dbus-cxx/enums.h
|
||||
@@ -5,6 +5,7 @@
|
||||
* *
|
||||
* This file is part of the dbus-cxx library. *
|
||||
***************************************************************************/
|
||||
+#include <cstdint>
|
||||
#include <ostream>
|
||||
|
||||
#ifndef DBUSCXX_ENUMS_H
|
||||
--
|
||||
2.39.1
|
||||
|
||||
Reference in New Issue
Block a user