aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-12-31 19:04:02 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-12-31 19:04:02 +0000
commitc2494342ad66096a968ba0cb0b19ed25354e890f (patch)
treecbcf68ed351d5aa884b56ac7636afe2561cf2802
parenta40ac690592867b8db9923fcfb604289239d7043 (diff)
downloadports-c2494342ad66096a968ba0cb0b19ed25354e890f.tar.gz
ports-c2494342ad66096a968ba0cb0b19ed25354e890f.zip
Notes
-rw-r--r--net/avahi/files/patch-avahi-daemon_dbus-protocol.c15
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 000000000000..23bb98813aa1
--- /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;