summaryrefslogtreecommitdiffstats
path: root/meta/packages/avahi/avahi-0.6.15/patch-avahi-daemon_dbus-protocol.c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/avahi/avahi-0.6.15/patch-avahi-daemon_dbus-protocol.c.patch')
-rw-r--r--meta/packages/avahi/avahi-0.6.15/patch-avahi-daemon_dbus-protocol.c.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/packages/avahi/avahi-0.6.15/patch-avahi-daemon_dbus-protocol.c.patch b/meta/packages/avahi/avahi-0.6.15/patch-avahi-daemon_dbus-protocol.c.patch
new file mode 100644
index 0000000000..0971a9eea8
--- /dev/null
+++ b/meta/packages/avahi/avahi-0.6.15/patch-avahi-daemon_dbus-protocol.c.patch
@@ -0,0 +1,28 @@
1marcus 2006-11-11 02:56:18 UTC
2
3 FreeBSD ports repository
4
5 Modified files:
6 net/avahi Makefile distinfo
7 Added files:
8 net/avahi/files patch-avahi-daemon_dbus-protocol.c
9 Log:
10 Update to 0.6.15, and fix the build with D-BUS 1.0.
11
12 Revision Changes Path
13 1.43 +3 -3 ports/net/avahi/Makefile
14 1.12 +3 -3 ports/net/avahi/distinfo
15 1.3 +11 -0 ports/net/avahi/files/patch-avahi-daemon_dbus-protocol.c (new)
16
17--- avahi-daemon/dbus-protocol.c.orig Fri Nov 10 21:50:07 2006
18+++ avahi-daemon/dbus-protocol.c Fri Nov 10 21:50:55 2006
19@@ -1067,7 +1067,7 @@ static int dbus_connect(void) {
20 if (dbus_bus_request_name(
21 server->bus,
22 AVAHI_DBUS_NAME,
23-#if (DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR >= 60)
24+#if ((DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR >= 60)) || DBUS_VERSION_MAJOR > 0
25 DBUS_NAME_FLAG_DO_NOT_QUEUE,
26 #else
27 DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT,
28