]> git.pld-linux.org Git - packages/ffingerd.git/commitdiff
- patch for lookup for gethostbyaddr() is in libc first and if no after this
authorkloczek <kloczek@pld-linux.org>
Tue, 22 Aug 2000 10:32:03 +0000 (10:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  try find this function in libnsl. On system with libc 6 with NSS support
  this causes cut linking libraries list (no linking with libnsl on Linux).

Changed files:
    ffingerd-gethostbyaddr_is_in_libc_aka_no_libnsl.patch -> 1.1

ffingerd-gethostbyaddr_is_in_libc_aka_no_libnsl.patch [new file with mode: 0644]

diff --git a/ffingerd-gethostbyaddr_is_in_libc_aka_no_libnsl.patch b/ffingerd-gethostbyaddr_is_in_libc_aka_no_libnsl.patch
new file mode 100644 (file)
index 0000000..4f7db54
--- /dev/null
@@ -0,0 +1,13 @@
+diff -Nru ffingerd-1.28/configure.in ffingerd-1.28.new/configure.in
+--- ffingerd-1.28/configure.in Thu Mar 16 10:56:23 2000
++++ ffingerd-1.28.new/configure.in     Tue Aug 22 12:29:53 2000
+@@ -13,7 +13,8 @@
+ AC_PROG_CC
+ AC_PROG_INSTALL
+ dnl Checks for libraries.
+-AC_CHECK_LIB(nsl,gethostbyaddr)
++AC_CHECK_FUNC(gethostbyaddr, ,
++      AC_CHECK_LIB(nsl, gethostbyaddr, LIBS="$LIBS -lnsl",) )
+ AC_CHECK_LIB(gen,syslog)
+ AC_CHECK_LIB(socket,socket)
+ dnl Checks for header files.
This page took 0.443552 seconds and 4 git commands to generate.