From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> DBusBasicValue needs a more recent libdbus so use const void * instead --- tools/mpris-player.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/mpris-player.c b/tools/mpris-player.c index de66f97..bf0f747 100644 --- a/tools/mpris-player.c +++ b/tools/mpris-player.c @@ -151,7 +151,6 @@ static int parse_metadata_entry(DBusMessageIter *entry, const char *key, DBusMessageIter *metadata) { DBusMessageIter var; - DBusBasicValue value; int type; printf("metadata %s found\n", key); @@ -181,6 +180,8 @@ static int parse_metadata_entry(DBusMessageIter *entry, const char *key, dict_append_array(metadata, key, DBUS_TYPE_STRING, &values, i); dbus_free(values); } else if (dbus_type_is_basic(type)) { + const void *value; + dbus_message_iter_get_basic(&var, &value); dict_append_entry(metadata, key, type, &value); } else -- 1.8.0.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html