This commit is contained in:
vcrhonek 2007-08-31 08:40:43 +00:00
parent b6889ecb4c
commit 38fab2b698
2 changed files with 15 additions and 2 deletions

12
tcsh-6.15.00-iconv.patch Normal file
View File

@ -0,0 +1,12 @@
--- tcsh-6.15.00/configure.in_old 2007-08-31 10:37:44.000000000 +0200
+++ tcsh-6.15.00/configure.in 2007-08-31 10:38:41.000000000 +0200
@@ -266,7 +266,8 @@
AC_SEARCH_LIBS(tgetent, tinfo)
AC_SEARCH_LIBS(gethostbyname, nsl)
AC_SEARCH_LIBS(connect, socket)
-AM_ICONV
+AC_SEARCH_LIBS([iconv], [iconv], [AC_DEFINE([HAVE_ICONV], [1],
+ [Define to 1 if you have the iconv () interface])])
dnl Checks for header files
AC_CHECK_HEADERS([auth.h crypt.h inttypes.h shadow.h stdint.h utmp.h utmpx.h])

View File

@ -10,12 +10,13 @@ Source: ftp://ftp.astron.com/pub/tcsh/tcsh-%{version}.00.tar.gz
Patch1: tcsh-6.15.00-closem.patch Patch1: tcsh-6.15.00-closem.patch
Patch2: tcsh-6.14.00-tinfo.patch Patch2: tcsh-6.14.00-tinfo.patch
Patch3: tcsh-6.14.00-unprintable.patch Patch3: tcsh-6.14.00-unprintable.patch
Patch4: tcsh-6.15.00-iconv.patch
Provides: csh = %{version} Provides: csh = %{version}
Requires(post): grep Requires(post): grep
Requires(postun): coreutils, grep Requires(postun): coreutils, grep
URL: http://www.tcsh.org/ URL: http://www.tcsh.org/
Buildroot: %{_tmppath}/%{name}-%{version}-root Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: autoconf, automake, ncurses-devel, gettext BuildRequires: autoconf, automake, ncurses-devel
%description %description
Tcsh is an enhanced but completely compatible version of csh, the C Tcsh is an enhanced but completely compatible version of csh, the C
@ -30,6 +31,7 @@ like syntax.
%patch1 -p1 -b .closem %patch1 -p1 -b .closem
%patch2 -p1 -b .tinfo %patch2 -p1 -b .tinfo
%patch3 -p1 -b .unprintable %patch3 -p1 -b .unprintable
%patch4 -p1 -b .iconv
%build %build
# For tcsh-6.14.00-tinfo.patch # For tcsh-6.14.00-tinfo.patch
@ -100,7 +102,6 @@ fi
* Mon Aug 27 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.15-1 * Mon Aug 27 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.15-1
- Update to tcsh-6.15.00 - Update to tcsh-6.15.00
- Fix license - Fix license
- Add gettext to BuildRequires (AM_ICONV)
* Wed Apr 25 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.14-16 * Wed Apr 25 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.14-16
- Fix floating exception in print_by_column() with unprintable characters - Fix floating exception in print_by_column() with unprintable characters