diff options
Diffstat (limited to 'ftp/gftp/files/patch-configure')
-rw-r--r-- | ftp/gftp/files/patch-configure | 40 |
1 files changed, 30 insertions, 10 deletions
diff --git a/ftp/gftp/files/patch-configure b/ftp/gftp/files/patch-configure index be29119ab3d4..3988d7d0c633 100644 --- a/ftp/gftp/files/patch-configure +++ b/ftp/gftp/files/patch-configure @@ -1,14 +1,34 @@ ---- configure.orig Wed Nov 27 17:25:51 2002 -+++ configure Wed Nov 27 17:30:47 2002 -@@ -3988,6 +3988,7 @@ +--- configure.orig Thu Jul 24 19:13:01 2003 ++++ configure Thu Jul 24 19:27:00 2003 +@@ -3526,7 +3526,7 @@ - GFTP_TEXT="" - EXTRA_LIBS="" -+EXTRA_LIBS="$EXTRA_LIBS -lutil" - USE_READLINE="yes" - READLINE_LIBS="" - if test "x$enable_textport" = "x1" ; then -@@ -4725,9 +4725,9 @@ + fi + +-for ac_func in gai_strerror getaddrinfo getcwd gettimeofday getwd mkdir mktime putenv rmdir select socket strdup strstr strtod strtol uname grantpt openpty getdtablesize ++for ac_func in gai_strerror getaddrinfo getcwd gettimeofday getwd mkdir mktime putenv rmdir select socket strdup strstr strtod strtol uname openpty getdtablesize + do + echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 + echo "configure:3533: checking for $ac_func" >&5 +@@ -3974,6 +3974,9 @@ + if { (eval echo configure:3975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" ++ cat >> confdefs.h <<EOF ++#define HAVE_OPENPTY 1 ++EOF + else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +@@ -4372,7 +4375,7 @@ + + fi + if test x${HAVE_LIBREADLINE} = xtrue; then +- READLINE_LIBS="-lreadline ${EXTRA_LIBREADLINE_DEPS}" ++ READLINE_LIBS="-lreadline -lintl ${EXTRA_LIBREADLINE_DEPS}" + fi + fi + +@@ -4813,9 +4816,9 @@ rm -f conf.gtktest |