Package: libnet-dbus-perl Version: 0.33.3-1 Severity: normal Tags: patch Hi, version 0.33.3-1 of libnet-dbus-perl uses a deprecated dbus function that is removed in dbus >= 0.90. dbus 0.92 will most probably go into unstable in the next days. The function dbus_connection_disconnect() was removed and can be replaced by dbus_connection_close(). Attached is a patch that fixes this.
Bye
--- lib/Net/DBus/Binding/Connection.pm.old 2006-08-24 18:03:58.367900250 +0200 +++ lib/Net/DBus/Binding/Connection.pm 2006-08-24 18:04:31.185951250 +0200 @@ -144,7 +144,7 @@ sub disconnect { my $self = shift; - $self->{connection}->dbus_connection_disconnect(); + $self->{connection}->dbus_connection_close(); } =item $con->flush() --- DBus.xs.old 2006-08-24 18:03:51.987501500 +0200 +++ DBus.xs 2006-08-24 18:04:19.461218500 +0200 @@ -447,7 +447,7 @@ dbus_connection_set_data(con, connection_data_slot, owner, _object_release); void -dbus_connection_disconnect(con) +dbus_connection_close(con) DBusConnection *con; int @@ -676,7 +676,7 @@ DBusConnection *con; CODE: PD_DEBUG("Destroying connection %p\n", con); - dbus_connection_disconnect(con); + dbus_connection_close(con); // XXX do we need this or not ? //dbus_connection_unref(con);
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil