openbsd-ports/net/avahi/patches/patch-avahi-daemon_main_c
ajacoutot 66d1bee23e Don't leak host info by default (upstream).
Don't add 0pointer.de and zeroconf.org to default browse list (upstream).
regen WANTLIB.
2013-01-26 10:25:31 +00:00

15 lines
599 B
Plaintext

$OpenBSD: patch-avahi-daemon_main_c,v 1.7 2013/01/26 10:25:31 ajacoutot Exp $
--- avahi-daemon/main.c.orig Thu Nov 18 04:00:26 2010
+++ avahi-daemon/main.c Sat Jan 26 10:40:53 2013
@@ -1101,8 +1101,10 @@ static int run_server(DaemonConfig *c) {
ignore_signal(SIGPIPE);
+#ifndef __OpenBSD__ // no NSS in OpenBSD
if (!(nss_support = avahi_nss_support()))
avahi_log_warn("WARNING: No NSS support for mDNS detected, consider installing nss-mdns!");
+#endif
if (!(simple_poll_api = avahi_simple_poll_new())) {
avahi_log_error("Failed to create main loop object.");