diff --git a/tcsh-6.14.00-tinfo.patch b/tcsh-6.14.00-tinfo.patch new file mode 100644 index 0000000..827aafd --- /dev/null +++ b/tcsh-6.14.00-tinfo.patch @@ -0,0 +1,11 @@ +--- tcsh-6.14.00/configure.in.ncurses 2006-11-30 15:51:16.000000000 +0100 ++++ tcsh-6.14.00/configure.in 2006-11-30 15:51:30.000000000 +0100 +@@ -257,7 +257,7 @@ + dnl Checks for libraries + AC_SEARCH_LIBS(crypt, crypt) + AC_SEARCH_LIBS(getspnam, sec) +-AC_SEARCH_LIBS(tgetent, termlib termcap curses ncurses) ++AC_SEARCH_LIBS(tgetent, tinfo) + AC_SEARCH_LIBS(gethostbyname, nsl) + AC_SEARCH_LIBS(connect, socket) + AC_SEARCH_LIBS([iconv], [iconv], [AC_DEFINE([HAVE_ICONV], [1], diff --git a/tcsh.spec b/tcsh.spec index 385aa2f..48aa6e4 100644 --- a/tcsh.spec +++ b/tcsh.spec @@ -3,7 +3,7 @@ Summary: An enhanced version of csh, the C shell Name: tcsh Version: 6.14 -Release: 13 +Release: 14 License: distributable Group: System Environment/Shells Source: ftp://ftp.astron.com/pub/tcsh/tcsh-%{version}.00.tar.gz @@ -19,7 +19,7 @@ Patch8: tcsh-6.14.00-colors.patch Patch9: tcsh-6.14.00-wide-seeks.patch Patch10: tcsh-6.14.00-spell-crash.patch Patch11: tcsh-6.14.00-remotehost.patch -Patch12: tcsh-6.14.00-ncurses.patch +Patch12: tcsh-6.14.00-tinfo.patch Provides: csh = %{version} Requires(post): grep Requires(postun): coreutils, grep @@ -49,10 +49,10 @@ like syntax. %patch9 -p1 -b .wide-seeks %patch10 -p1 -b .spell-crash %patch11 -p1 -b .remotehost -%patch12 -p1 -b .ncurses +%patch12 -p1 -b .tinfo %build -# For tcsh-6.14.00-ncurses.patch +# For tcsh-6.14.00-tinfo.patch autoreconf %configure --without-hesiod make all @@ -117,6 +117,9 @@ fi %{_mandir}/*/* %changelog +* Mon Feb 12 2007 Miloslav Trmac - 6.14-14 +- Link to libtinfo instead of libncurses + * Thu Nov 30 2006 Miloslav Trmac - 6.14-13 - Link to ncurses instead of libtermcap - Fix some rpmlint warnings