summaryrefslogtreecommitdiff
path: root/libraries/libdbus-c++/nested_variant_map.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libdbus-c++/nested_variant_map.patch')
-rw-r--r--libraries/libdbus-c++/nested_variant_map.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libraries/libdbus-c++/nested_variant_map.patch b/libraries/libdbus-c++/nested_variant_map.patch
new file mode 100644
index 0000000000..8b41ed3a3a
--- /dev/null
+++ b/libraries/libdbus-c++/nested_variant_map.patch
@@ -0,0 +1,11 @@
+--- 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)
+ );