diff --git a/net-misc/openssh/patches/openssh-5.5p1.patch b/net-misc/openssh/patches/openssh-5.5p1.patch index adcbe424f..aaf507d41 100644 --- a/net-misc/openssh/patches/openssh-5.5p1.patch +++ b/net-misc/openssh/patches/openssh-5.5p1.patch @@ -1,12 +1,12 @@ diff -up openssh-5.5p1/configure.ac.orig openssh-5.5p1/configure.ac ---- openssh-5.5p1/configure.ac.orig 2010-04-29 16:14:57.805306368 -0600 -+++ openssh-5.5p1/configure.ac 2010-04-29 16:15:01.181141504 -0600 +--- openssh-5.5p1/configure.ac.orig 2010-04-10 06:58:01.058458112 -0600 ++++ openssh-5.5p1/configure.ac 2010-04-29 17:31:43.944242688 -0600 @@ -1277,7 +1277,7 @@ AC_ARG_WITH(libedit, LIBEDIT=`$PKGCONFIG --libs-only-l libedit` CPPFLAGS="$CPPFLAGS `$PKGCONFIG --cflags libedit`" else - LIBEDIT="-ledit -lcurses" -+ LIBEDIT="-ledit -lncurses" ++ AC_CHECK_LIB(curses, tgetent, [LIBEDIT="-ledit -lcurses"], AC_CHECK_LIB(ncurses, tgetent, [LIBEDIT="-ledit -lncurses"])) fi OTHERLIBS=`echo $LIBEDIT | sed 's/-ledit//'` AC_CHECK_LIB(edit, el_init,