File ekiga-4.0.1-libresolv.patch of Package ekiga

diff -up ekiga-4.0.1/configure.ac.libresolv ekiga-4.0.1/configure.ac
--- ekiga-4.0.1/configure.ac.libresolv	2017-02-23 02:30:42.051227852 -0600
+++ ekiga-4.0.1/configure.ac	2017-02-23 02:32:04.609519837 -0600
@@ -324,7 +324,8 @@ if test "x$enable_ldap" = "xyes"; then
 
   dnl Checking for libresolv
   if test ${gm_platform} = "linux" ; then
-  	AC_CHECK_LIB(resolv, res_gethostbyaddr, [LIBS="-lresolv $LIBS"], AC_MSG_ERROR([You need the libresolv library to compile Ekiga]), -lresolv)
+  	# AC_CHECK_LIB(resolv, res_gethostbyaddr, [LIBS="-lresolv $LIBS"], AC_MSG_ERROR([You need the libresolv library to compile Ekiga]), -lresolv)
+	AC_WARNING([Just adding libresolv to LDAP_LIBS, without checking anything])
   	LDAP_LIBS="${LDAP_LIBS} -lresolv"
   fi
   found_ldap="yes"