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