From 84183ded325ce2d067de1fdd0ab8735dd9e5e39f Mon Sep 17 00:00:00 2001 From: vcrhonek Date: Fri, 29 Aug 2008 09:46:27 +0000 Subject: [PATCH] Let tcsh know 'ca' colorls variable --- tcsh-6.15.00-ca-color.patch | 11 +++++++++++ tcsh.spec | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 tcsh-6.15.00-ca-color.patch diff --git a/tcsh-6.15.00-ca-color.patch b/tcsh-6.15.00-ca-color.patch new file mode 100644 index 0000000..cf6e675 --- /dev/null +++ b/tcsh-6.15.00-ca-color.patch @@ -0,0 +1,11 @@ +diff -ruN tcsh-6.15.00.orig/tw.color.c tcsh-6.15.00/tw.color.c +--- tcsh-6.15.00.orig/tw.color.c 2006-03-02 19:46:45.000000000 +0100 ++++ tcsh-6.15.00/tw.color.c 2008-07-31 14:10:34.000000000 +0200 +@@ -85,6 +85,7 @@ + VAR(NOS, "tw", ""), /* Sticky and other writable dir (+t,o+w) */ + VAR(NOS, "ow", ""), /* Other writable dir (o+w) but not sticky */ + VAR(NOS, "st", ""), /* Sticky dir (+t) but not other writable */ ++ VAR(NOS, "ca", ""), /* file with capability */ + }; + + enum FileType { diff --git a/tcsh.spec b/tcsh.spec index 0c4dd6b..69c38fe 100644 --- a/tcsh.spec +++ b/tcsh.spec @@ -3,7 +3,7 @@ Summary: An enhanced version of csh, the C shell Name: tcsh Version: 6.15 -Release: 4%{?dist} +Release: 5%{?dist} License: BSD with advertising Group: System Environment/Shells Source: ftp://ftp.astron.com/pub/tcsh/tcsh-%{version}.00.tar.gz @@ -12,6 +12,7 @@ Patch2: tcsh-6.14.00-tinfo.patch Patch3: tcsh-6.14.00-unprintable.patch Patch4: tcsh-6.15.00-hist-sub.patch Patch5: tcsh-6.15.00-var-sub.patch +Patch6: tcsh-6.15.00-ca-color.patch Provides: csh = %{version} Requires(post): grep Requires(postun): coreutils, grep @@ -34,6 +35,7 @@ like syntax. %patch3 -p1 -b .unprintable %patch4 -p1 -b .hist-sub %patch5 -p1 -b .var-sub +%patch6 -p1 -b .ca-color %build # For tcsh-6.14.00-tinfo.patch @@ -101,6 +103,10 @@ fi %{_mandir}/*/* %changelog +* Fri Aug 29 2008 Vitezslav Crhonek - 6.15-5 +- Let tcsh know 'ca' colorls variable + Resolves: #458716 + * Fri Feb 29 2008 Vitezslav Crhonek - 6.15-4 - Fix '\' can not be used to quote all delimiters Related: #435421