File obby-avahi.patch of Package obby

Uncomment avahi part of Zeroconf check. I don't see any reason, why it is
commented out. If there is any, it's possible to compile with avahi-compat-howl.
================================================================================
--- configure.ac
+++ configure.ac
@@ -75,17 +75,17 @@
       AC_DEFINE(WITH_HOWL, 1, [Use Howl Zeroconf implementation.])
       AC_MSG_NOTICE([Using Howl Zeroconf implementation.])
     else
-##      PKG_CHECK_MODULES([libavahi], [avahi-client >= 0.6], [avahi_found=yes],
-##                        [avahi_found=no])
-##      if test "x$avahi_found" = "xyes" ; then
-##        using_zeroconf=avahi
-##        extra_requires="$extra_requires avahi-client"
-##        AC_DEFINE(WITH_AVAHI, 1, [Use Avahi Zeroconf implementation.])
-##        AC_MSG_NOTICE([Using Avahi Zeroconf implementation.])
-##      else
+      PKG_CHECK_MODULES([libavahi], [avahi-client >= 0.6], [avahi_found=yes],
+                        [avahi_found=no])
+      if test "x$avahi_found" = "xyes" ; then
+        using_zeroconf=avahi
+        extra_requires="$extra_requires avahi-client"
+        AC_DEFINE(WITH_AVAHI, 1, [Use Avahi Zeroconf implementation.])
+        AC_MSG_NOTICE([Using Avahi Zeroconf implementation.])
+      else
         AC_MSG_ERROR([No supported Zeroconf implementation found.])
-##        exit
-##      fi
+        exit
+      fi
     fi
 ##  fi
 fi
openSUSE Build Service is sponsored by