1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Update to 0.6.15, and fix the build with D-BUS 1.0.

This commit is contained in:
Joe Marcus Clarke 2006-11-11 02:56:18 +00:00
parent 49cdb0be33
commit 6cd4c0f2e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177046
3 changed files with 17 additions and 6 deletions

View File

@ -6,10 +6,10 @@
# $MCom: ports/net/avahi/Makefile,v 1.19 2006/10/12 16:44:41 marcus Exp $
PORTNAME= avahi
PORTVERSION= 0.6.14
PORTREVISION?= 3
PORTVERSION= 0.6.15
PORTREVISION?= 0
CATEGORIES?= net dns
MASTER_SITES= http://www.avahi.org/download/
MASTER_SITES= http://lathiat.net/
MAINTAINER?= gnome@FreeBSD.org
COMMENT?= Service discovery on a local network

View File

@ -1,3 +1,3 @@
MD5 (avahi-0.6.14.tar.gz) = 6abad76bbc2ac0f51a8869b3a2e5c238
SHA256 (avahi-0.6.14.tar.gz) = e599f03b2d493b492fc23f50c5fe7bbf78af90e79a0c6c8c2e6600048e71c2e6
SIZE (avahi-0.6.14.tar.gz) = 923556
MD5 (avahi-0.6.15.tar.gz) = 94dbd41336d18c47fc8213735a3fbf8e
SHA256 (avahi-0.6.15.tar.gz) = 21dc28f464dbf158ad15dc5ee9d0bad78215ef5633086e55b7201294d5841da0
SIZE (avahi-0.6.15.tar.gz) = 892455

View File

@ -0,0 +1,11 @@
--- avahi-daemon/dbus-protocol.c.orig Fri Nov 10 21:50:07 2006
+++ avahi-daemon/dbus-protocol.c Fri Nov 10 21:50:55 2006
@@ -1067,7 +1067,7 @@ static int dbus_connect(void) {
if (dbus_bus_request_name(
server->bus,
AVAHI_DBUS_NAME,
-#if (DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR >= 60)
+#if ((DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR >= 60)) || DBUS_VERSION_MAJOR > 0
DBUS_NAME_FLAG_DO_NOT_QUEUE,
#else
DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT,