summaryrefslogtreecommitdiff
path: root/sys-auth/nss-mdns/files/nss-mdns-0.10-avahi-socket.patch
blob: 9ada93d2b8fbff7876110a24339743f53337c97b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
https://bugs.gentoo.org/159341

fix the full path to the socket run dir

--- src/Makefile.am
+++ src/Makefile.am
@@ -20,7 +20,7 @@
 AM_CFLAGS = \
 	-DMDNS_ALLOW_FILE=\"$(sysconfdir)/mdns.allow\" \
 	-DRESOLV_CONF_FILE=\"$(sysconfdir)/resolv.conf\" \
-	-DAVAHI_SOCKET=\"$(localstatedir)/run/avahi-daemon/socket\"
+	-DAVAHI_SOCKET=\"/var/run/avahi-daemon/socket\"
 
 #AM_CFLAGS += -DNDEBUG=1 -Os