aboutsummaryrefslogtreecommitdiffstats
path: root/net/avahi-app
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2014-09-09 00:30:23 +0800
committermarcus <marcus@FreeBSD.org>2014-09-09 00:30:23 +0800
commit0dc42ec8b53f1603ecc98fa878f3c6e5f8906bac (patch)
tree66048db3986ab89ee1cff2204b03dacad1283d06 /net/avahi-app
parent876c14c4e4fe14a36b43e1963abde31a11b1dc0f (diff)
downloadfreebsd-ports-gnome-0dc42ec8b53f1603ecc98fa878f3c6e5f8906bac.tar.gz
freebsd-ports-gnome-0dc42ec8b53f1603ecc98fa878f3c6e5f8906bac.tar.zst
freebsd-ports-gnome-0dc42ec8b53f1603ecc98fa878f3c6e5f8906bac.zip
Fix a warning caused by the inability to find nss_mdns.so.1 on FreeBSD.
Submitted by: John Silva <john@aerizen.com>
Diffstat (limited to 'net/avahi-app')
-rw-r--r--net/avahi-app/Makefile2
-rw-r--r--net/avahi-app/files/patch-avahi-client_check-nss.c10
2 files changed, 11 insertions, 1 deletions
diff --git a/net/avahi-app/Makefile b/net/avahi-app/Makefile
index d7066f2d6ae9..b0042bb39138 100644
--- a/net/avahi-app/Makefile
+++ b/net/avahi-app/Makefile
@@ -4,7 +4,7 @@
PORTNAME= avahi
PORTVERSION= 0.6.31
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES?= net dns
MASTER_SITES= http://www.avahi.org/download/
PKGNAMESUFFIX?= -app
diff --git a/net/avahi-app/files/patch-avahi-client_check-nss.c b/net/avahi-app/files/patch-avahi-client_check-nss.c
new file mode 100644
index 000000000000..28048bdfc186
--- /dev/null
+++ b/net/avahi-app/files/patch-avahi-client_check-nss.c
@@ -0,0 +1,10 @@
+--- avahi-client/check-nss.c.orig 2014-09-08 12:26:55.000000000 -0400
++++ avahi-client/check-nss.c 2014-09-08 12:27:24.000000000 -0400
+@@ -33,6 +33,7 @@ int avahi_nss_support(void) {
+
+ #ifdef HAVE_DLOPEN
+ static const char * const libs[] = {
++ "nss_mdns.so.1",
+ "libnss_mdns.so.2",
+ "libnss_mdns4.so.2",
+ "libnss_mdns6.so.2",