diff --git a/tcsh-6.24.14-x86-fix-build.patch b/tcsh-6.24.14-x86-fix-build.patch new file mode 100644 index 0000000..01f6dde --- /dev/null +++ b/tcsh-6.24.14-x86-fix-build.patch @@ -0,0 +1,11 @@ +--- tcsh-6.24.14/sh.file.c.orig 2024-12-10 16:50:13.399978615 +0100 ++++ tcsh-6.24.14/sh.file.c 2024-12-10 16:53:29.401358905 +0100 +@@ -593,7 +593,7 @@ + #if defined (WIDE_STRINGS) && !defined (UTF16_STRING) + errno = 0; + +- return (wcscoll(*(Char *const *) p, *(Char *const *) q)); ++ return (wcscoll(*(wchar_t *const *) p, *(wchar_t *const *) q)); + #else + char *p1, *q1; + int res; diff --git a/tcsh.spec b/tcsh.spec index 9fb3658..57fd55b 100644 --- a/tcsh.spec +++ b/tcsh.spec @@ -1,5 +1,5 @@ Name: tcsh -Version: 6.24.13 +Version: 6.24.14 Release: 1mamba Summary: An enhanced version of csh, the C shell Group: Applications/Shells @@ -8,6 +8,7 @@ Distribution: openmamba Packager: Silvan Calarco URL: https://www.tcsh.org/ Source: http://ftp.astron.com/pub/tcsh/tcsh-%{version}.tar.gz +Patch0: tcsh-6.24.14-x86-fix-build.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -26,6 +27,9 @@ Tcsh includes a command line editor, programmable word completion, spelling corr %prep %setup -q -n tcsh-%{version} +%ifarch %{ix86} +%patch 0 -p1 +%endif %build %configure \ @@ -63,6 +67,9 @@ ln -s tcsh %{buildroot}%{_bindir}/csh %{_mandir}/man1/* %changelog +* Wed Nov 27 2024 Automatic Build System 6.24.14-1mamba +- automatic version update by autodist + * Sun Jun 16 2024 Automatic Build System 6.24.13-1mamba - automatic version update by autodist