diff options
author | marcus <marcus@FreeBSD.org> | 2005-12-31 19:04:02 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2005-12-31 19:04:02 +0000 |
commit | 7c7cfebc5649ccb242435beb3bb448a8922e8e2c (patch) | |
tree | 1bd953bdb47c485ab0f906236866bf221f2a623b | |
parent | 811cc2b9625c828ea418a0b4510bd05292c60582 (diff) | |
download | FreeBSD-ports-7c7cfebc5649ccb242435beb3bb448a8922e8e2c.zip FreeBSD-ports-7c7cfebc5649ccb242435beb3bb448a8922e8e2c.tar.gz |
Fix build with dbus-0.60.
Obtained from: Avahi SVN
-rw-r--r-- | net/avahi/files/patch-avahi-daemon_dbus-protocol.c | 15 |
1 files changed, 15 insertions, 0 deletions
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; |