$OpenBSD: patch-avahi-compat-libdns_sd_warn_c,v 1.5 2013/05/31 21:12:02 ajacoutot Exp $

Stop polluting syslog(3).

--- avahi-compat-libdns_sd/warn.c.orig	Thu Aug 26 02:51:38 2010
+++ avahi-compat-libdns_sd/warn.c	Fri May 31 23:11:19 2013
@@ -110,11 +110,13 @@ void avahi_warn_linkage(void) {
     linkage_warning = 1;
     pthread_mutex_unlock(&linkage_mutex);
 
+#if 0
     if (!w && !getenv("AVAHI_COMPAT_NOWARN")) {
         avahi_warn("The program '%s' uses the "COMPAT_LAYER" compatibility layer of Avahi.", avahi_exe_name());
         avahi_warn("Please fix your application to use the native API of Avahi!");
         avahi_warn("For more information see <http://0pointer.de/avahi-compat?s="CGI_SUBSYSTEM"&e=%s>", avahi_exe_name());
     }
+#endif
 }
 
 void avahi_warn_unsupported(const char *function) {
