mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-02 06:39:06 +00:00
Fix dbus-cxx build for musl
Signed-off-by: Caio Toledo <caioviniciusdetoledo@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
a6373a21ea
commit
556293d49f
@ -4,7 +4,9 @@ SECTION = "base"
|
|||||||
LICENSE = "GPLv3"
|
LICENSE = "GPLv3"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4cf0188f02184e1e84b9586ac53c3f83"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=4cf0188f02184e1e84b9586ac53c3f83"
|
||||||
|
|
||||||
|
FILEEXTRAPATHS_prepend = "${THISDIR}/files"
|
||||||
SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master"
|
SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master"
|
||||||
|
SRC_URI += "file://fix_build_musl.patch"
|
||||||
SRCREV = "ea7f8e361d11dc7d41d9ae2c4128aed2cdadd84e"
|
SRCREV = "ea7f8e361d11dc7d41d9ae2c4128aed2cdadd84e"
|
||||||
|
|
||||||
DEPENDS = "\
|
DEPENDS = "\
|
||||||
|
|||||||
26
meta-oe/recipes-core/dbus-cxx/files/fix_build_musl.patch
Normal file
26
meta-oe/recipes-core/dbus-cxx/files/fix_build_musl.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
diff --git a/dbus-cxx/timeout.cpp b/dbus-cxx/timeout.cpp
|
||||||
|
index 16e9f7e..aa0b99f 100644
|
||||||
|
--- a/dbus-cxx/timeout.cpp
|
||||||
|
+++ b/dbus-cxx/timeout.cpp
|
||||||
|
@@ -132,7 +132,7 @@ namespace DBus
|
||||||
|
return m_cobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
- void Timeout::timer_callback_proxy( sigval_t sv ) {
|
||||||
|
+ void Timeout::timer_callback_proxy( union sigval sv ) {
|
||||||
|
SIMPLELOGGER_DEBUG( "dbus.Timeout","Timeout::timer_callback_proxy" );
|
||||||
|
Timeout* t;
|
||||||
|
t = ( Timeout* ) sv.sival_ptr;
|
||||||
|
diff --git a/dbus-cxx/timeout.h b/dbus-cxx/timeout.h
|
||||||
|
index 1e469b5..5b69fbb 100644
|
||||||
|
--- a/dbus-cxx/timeout.h
|
||||||
|
+++ b/dbus-cxx/timeout.h
|
||||||
|
@@ -83,7 +83,7 @@ namespace DBus
|
||||||
|
|
||||||
|
std::mutex m_arming_mutex;
|
||||||
|
|
||||||
|
- static void timer_callback_proxy( sigval_t sv );
|
||||||
|
+ static void timer_callback_proxy( union sigval sv );
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user