From 7c7cfebc5649ccb242435beb3bb448a8922e8e2c Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 31 Dec 2005 19:04:02 +0000 Subject: Fix build with dbus-0.60. Obtained from: Avahi SVN --- net/avahi/files/patch-avahi-daemon_dbus-protocol.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 net/avahi/files/patch-avahi-daemon_dbus-protocol.c diff --git a/net/avahi/files/patch-avahi-daemon_dbus-protocol.c b/net/avahi/files/patch-avahi-daemon_dbus-protocol.c new file mode 100644 index 0000000..23bb988 --- /dev/null +++ b/net/avahi/files/patch-avahi-daemon_dbus-protocol.c @@ -0,0 +1,15 @@ +--- avahi-daemon/dbus-protocol.c.orig Sat Dec 31 13:56:36 2005 ++++ avahi-daemon/dbus-protocol.c Sat Dec 31 14:02:18 2005 +@@ -1029,7 +1029,11 @@ int dbus_protocol_setup(const AvahiPoll + goto fail; + } + +- if (dbus_bus_request_name(server->bus, AVAHI_DBUS_NAME, DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT, &error) != DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER) { ++ if (dbus_bus_request_name( ++ server->bus, ++ AVAHI_DBUS_NAME, ++ DBUS_NAME_FLAG_DO_NOT_QUEUE, ++ &error) != DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER) { + if (dbus_error_is_set(&error)) { + avahi_log_error("dbus_bus_request_name(): %s", error.message); + goto fail; -- cgit v1.1