mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 14:56:43 +01:00
dbus-cxx: Include missing <utility> header
gcc-12 does error about this explicitly. Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
e6f43e7995
commit
b51d4b6d68
|
|
@ -7,6 +7,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 \
|
||||
"
|
||||
SRC_URI:append:libc-musl = "file://fix_build_musl.patch"
|
||||
SRCREV = "73532d6a5faae9c721c2cc9535b8ef32d4d18264"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,32 @@
|
|||
From 63170cfcfbf483716ce2599e165db80713fc2706 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Tue, 12 Apr 2022 06:47:19 -0700
|
||||
Subject: [PATCH] include utility header
|
||||
|
||||
Needed for exchange from std namespace
|
||||
|
||||
Fixes
|
||||
dbus-cxx/variant.cpp:135:25: error: 'exchange' is not a member of 'std'
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/dbus-cxx/dbus-cxx/pull/98]
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
dbus-cxx/variant.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/dbus-cxx/variant.cpp b/dbus-cxx/variant.cpp
|
||||
index bcf2684..97b622c 100644
|
||||
--- a/dbus-cxx/variant.cpp
|
||||
+++ b/dbus-cxx/variant.cpp
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <dbus-cxx/dbus-cxx-private.h>
|
||||
#include <dbus-cxx/signatureiterator.h>
|
||||
#include <stdint.h>
|
||||
+#include <utility>
|
||||
#include "enums.h"
|
||||
#include "path.h"
|
||||
#include "signature.h"
|
||||
--
|
||||
2.35.1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user