Fix a warning caused by the inability to find nss_mdns.so.1 on FreeBSD.

Submitted by:	John Silva <john@aerizen.com>
This commit is contained in:
Joe Marcus Clarke 2014-09-08 16:30:23 +00:00
parent 4748ea9085
commit 10f80a3fdf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367653
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -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",