diff options
Diffstat (limited to 'debian/patches/libs.patch')
-rw-r--r-- | debian/patches/libs.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/libs.patch b/debian/patches/libs.patch new file mode 100644 index 0000000..6fbb423 --- /dev/null +++ b/debian/patches/libs.patch @@ -0,0 +1,17 @@ +Index: inetutils/configure.ac +=================================================================== +--- inetutils.orig/configure.ac 2013-05-10 19:28:56.480948206 +0400 ++++ inetutils/configure.ac 2013-05-10 23:47:01.229077565 +0400 +@@ -140,9 +140,9 @@ + gl_INIT + + ### Checks for libraries. +-#AC_CHECK_LIB(nsl, inet_ntoa) +-#AC_CHECK_LIB(resolv, gethostname) +-AC_CHECK_LIB(socket, getpeername) ++AC_SEARCH_LIBS(getpeername, socket) ++AC_SEARCH_LIBS(inet_ntop, nsl) ++AC_SEARCH_LIBS(gethostname, resolv) + + # See if a termcap library is available (under one of several names) + IU_LIB_TERMCAP |