aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-01-01 03:04:02 +0800
committermarcus <marcus@FreeBSD.org>2006-01-01 03:04:02 +0800
commit7c7cfebc5649ccb242435beb3bb448a8922e8e2c (patch)
tree1bd953bdb47c485ab0f906236866bf221f2a623b /net
parent811cc2b9625c828ea418a0b4510bd05292c60582 (diff)
downloadfreebsd-ports-gnome-7c7cfebc5649ccb242435beb3bb448a8922e8e2c.tar.gz
freebsd-ports-gnome-7c7cfebc5649ccb242435beb3bb448a8922e8e2c.tar.zst
freebsd-ports-gnome-7c7cfebc5649ccb242435beb3bb448a8922e8e2c.zip
Fix build with dbus-0.60.
Obtained from: Avahi SVN
Diffstat (limited to 'net')
-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;