slackbuilds_ponce/libraries/libdbus-c++/nested_variant_map.patch
Heinz Wiesinger 697a9c5499 libraries/libdbus-c++: Fix bug concerning nested variant maps.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2016-03-15 00:26:15 +07:00

11 lines
474 B
Diff

--- libdbus-c++-0.9.0/src/message.cpp 2016-02-20 12:15:52.069704535 +0100
+++ libdbus-c++-0.9.0-patch/src/message.cpp 2016-02-20 12:31:34.159854472 +0100
@@ -347,6 +347,7 @@
(
(DBusMessageIter *) & (to._iter),
from.type(),
- from.type() == DBUS_TYPE_VARIANT ? NULL : sig,
+ from.type() == DBUS_TYPE_DICT_ENTRY ||
+ from.type() == DBUS_TYPE_STRUCT ? NULL : sig,
(DBusMessageIter *) & (to_container._iter)
);