- Link to libtinfo instead of libncurses

This commit is contained in:
Miloslav Trmac 2007-02-12 16:09:02 +00:00
parent 76b38ed428
commit f77aad9aa3
2 changed files with 18 additions and 4 deletions

11
tcsh-6.14.00-tinfo.patch Normal file
View File

@ -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],

View File

@ -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 <mitr@redhat.com> - 6.14-14
- Link to libtinfo instead of libncurses
* Thu Nov 30 2006 Miloslav Trmac <mitr@redhat.com> - 6.14-13
- Link to ncurses instead of libtermcap
- Fix some rpmlint warnings