]> git.pld-linux.org Git - packages/gftp.git/commitdiff
- try lookup for gethostbyname() firs in libc.
authorkloczek <kloczek@pld-linux.org>
Sat, 24 Nov 2001 08:15:27 +0000 (08:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gftp-no_libnsl.patch -> 1.1

gftp-no_libnsl.patch [new file with mode: 0644]

diff --git a/gftp-no_libnsl.patch b/gftp-no_libnsl.patch
new file mode 100644 (file)
index 0000000..96e168e
--- /dev/null
@@ -0,0 +1,13 @@
+--- gftp-2.0.9/configure.in~   Sat Nov 24 05:58:59 2001
++++ gftp-2.0.9/configure.in    Sat Nov 24 05:58:59 2001
+@@ -57,7 +57,9 @@
+ if test "x$enable_textport" = "x1" ; then
+   AC_CHECK_LIB(socket, socket, EXTRA_LIBS="-lsocket")
+   
+-  AC_CHECK_LIB(nsl, gethostbyname, EXTRA_LIBS="$EXTRA_LIBS -lnsl")
++  AC_CHECK_FUNC(gethostbyname, [],
++    AC_CHECK_LIB(nsl, gethostbyname, EXTRA_LIBS="$EXTRA_LIBS -lnsl")
++  )
+   AC_CHECK_FUNC(gethostbyname, [],
+     AC_CHECK_LIB(nsl, gethostbyname, EXTRA_LIBS="$EXTRA_LIBS -lnsl")
This page took 0.404143 seconds and 4 git commands to generate.