summaryrefslogtreecommitdiff
path: root/libraries/libdbus-c++/nested_variant_map.patch
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2016-03-13 17:52:10 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-15 00:26:15 +0700
commit697a9c54995d281145a24123409c78bded6c3487 (patch)
tree4381936a74b152cea1c57a8975822378653d8f3c /libraries/libdbus-c++/nested_variant_map.patch
parent6cdee3b56c583a8226e8333e42fef7968e134ff0 (diff)
downloadslackbuilds-697a9c54995d281145a24123409c78bded6c3487.tar.gz
libraries/libdbus-c++: Fix bug concerning nested variant maps.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
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)
+ );