SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
net/avahi/patches/patch-avahi-daemon_main_c
Normal file
14
net/avahi/patches/patch-avahi-daemon_main_c
Normal file
|
@ -0,0 +1,14 @@
|
|||
Index: avahi-daemon/main.c
|
||||
--- avahi-daemon/main.c.orig
|
||||
+++ avahi-daemon/main.c
|
||||
@@ -1152,8 +1152,10 @@ static int run_server(DaemonConfig *c) {
|
||||
|
||||
ignore_signal(SIGPIPE);
|
||||
|
||||
+#ifndef __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.");
|
Loading…
Add table
Add a link
Reference in a new issue