--- /dev/null
+--- proftpd-1.3.2e/configure.in~ 2010-08-29 19:11:41.077617756 +0200
++++ proftpd-1.3.2e/configure.in 2010-08-29 19:14:28.683856499 +0200
+@@ -1736,14 +1736,14 @@
+ dnl headers have been found.
+ if test x"$ac_cv_header_curses_h" = xyes; then
+ AC_CHECK_LIB(curses, initscr,
+- [ CURSES_LIBS="-lcurses"
++ [ CURSES_LIBS="-lcurses -ltinfo"
+ AC_DEFINE(HAVE_LIBCURSES, 1, [Define if you have curses])
+ ])
+ fi
+
+ if test x"$ac_cv_header_ncurses_h" = xyes; then
+ AC_CHECK_LIB(ncurses, initscr,
+- [ CURSES_LIBS="-lncurses"
++ [ CURSES_LIBS="-lncurses -ltinfo"
+ AC_DEFINE(HAVE_LIBNCURSES, 1, [Define if you have ncurses])
+ ])
+ fi
Summary(zh_CN.UTF-8): 易于管理的,安全的 FTP 服务器
Name: proftpd
Version: 1.3.2e
-Release: 1
+Release: 2
Epoch: 2
License: GPL v2+
Group: Networking/Daemons
Patch2: %{name}-wtmp.patch
Patch3: %{name}-pool.patch
Patch4: %{name}-nostrip.patch
+Patch5: %{name}-link.patch
URL: http://www.proftpd.org/
BuildRequires: acl-devel
BuildRequires: autoconf
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
cp -f /usr/share/automake/config.sub .