2013-01-26 05:25:31 -05:00
|
|
|
$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) {
|
2009-06-03 15:42:55 -04:00
|
|
|
|
2010-07-31 10:33:20 -04:00
|
|
|
ignore_signal(SIGPIPE);
|
2009-06-03 15:42:55 -04:00
|
|
|
|
|
|
|
+#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.");
|