--- avahi/avahi-daemon/dbus-protocol.c.orig 2005-12-12 17:41:45.000000000 -0800
+++ avahi/avahi-daemon/dbus-protocol.c 2005-12-12 17:42:31.000000000 -0800
@@ -1031,7 +1031,7 @@
-#if (DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR >= 60)
+#if (DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR <= 60)
Actually, that should be "<" not "<=". :)
I assume, this also triggers this problem:
dbus-protocol.c: In function 'dbus_protocol_setup':
dbus-protocol.c:1032: error: 'DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT' undeclared
(first use in this function)
dbus-protocol.c:1032: error: (Each undeclared identifier is reported only once
dbus-protocol.c:1032: error: for each function it appears in.)
dbus-protocol.c:1042: warning: cast discards qualifiers from pointer target
typemake: *** [avahi_daemon-dbus-protocol.o] Error 1
Yes, that is the problem that it triggers.
Is the patch you're suggesting reversed or obsolete or something?
DBUS_NAME_FLAG_DO_NOT_QUEUE is the new flag in 0.60, and
DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT is the old one. Hence the current code looks
If I missed something, feel free to reopen it!
The patch was against 0.6.1. :) It's obviously been fixed now.