1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 27_remove_nsl.dpatch by Roland Rosenfeld <roland@debian.org>
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Remove unnecessary linking against libnsl.
8 diff -urNad privoxy~/configure.in privoxy/configure.in
9 --- privoxy~/configure.in
10 +++ privoxy/configure.in
12 dnl =================================================================
14 dnl Next line needed to find the gethost*_r functions on Solaris
15 -AC_CHECK_LIB(nsl, gethostbyname)
16 +dnl AC_CHECK_LIB(nsl, gethostbyname)
18 AC_CHECK_FUNC(gethostbyaddr_r, [
19 AC_MSG_CHECKING([signature of gethostbyaddr_r])