From 4d814962797eaa8bcf48718284f8efc417824317 Mon Sep 17 00:00:00 2001 From: vcrhonek Date: Wed, 26 Aug 2009 15:06:48 +0000 Subject: [PATCH] Add new colorls variable --- tcsh-6.17.00-mh-color.patch | 12 ++++++++++++ tcsh.spec | 8 +++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 tcsh-6.17.00-mh-color.patch diff --git a/tcsh-6.17.00-mh-color.patch b/tcsh-6.17.00-mh-color.patch new file mode 100644 index 0000000..693a686 --- /dev/null +++ b/tcsh-6.17.00-mh-color.patch @@ -0,0 +1,12 @@ +diff -up tcsh-6.17.00/tw.color.c_old tcsh-6.17.00/tw.color.c +--- tcsh-6.17.00/tw.color.c_old 2009-08-26 13:29:05.000000000 +0200 ++++ tcsh-6.17.00/tw.color.c 2009-08-26 13:52:51.000000000 +0200 +@@ -88,6 +88,8 @@ static Variable variables[] = { + VAR(NOS, "rs", "0"), /* Reset to normal color */ + VAR(NOS, "ca", ""), /* file with capability */ + VAR(NOS, "hl", ""), /* Hardlink */ ++ VAR(NOS, "mh", ""), /* MULTIHARDLINK */ ++ VAR(NOS, "cl", ""), /* CLRTOEOL */ + }; + + enum FileType { diff --git a/tcsh.spec b/tcsh.spec index e0fcb8f..6031d91 100644 --- a/tcsh.spec +++ b/tcsh.spec @@ -3,7 +3,7 @@ Summary: An enhanced version of csh, the C shell Name: tcsh Version: 6.17 -Release: 2%{?dist} +Release: 3%{?dist} License: BSD Group: System Environment/Shells Source: ftp://ftp.astron.com/pub/tcsh/%{name}-%{version}.00.tar.gz @@ -17,6 +17,7 @@ Patch8: tcsh-6.14.00-syntax.patch Patch9: tcsh-6.13.00-memoryuse.patch Patch11: tcsh-6.14.00-order.patch Patch12: tcsh-6.15.00-rs-color.patch +Patch13: tcsh-6.17.00-mh-color.patch Provides: csh = %{version} Requires(post): grep Requires(postun): coreutils, grep @@ -44,6 +45,7 @@ like syntax. %patch9 -p1 -b .memoryuse %patch11 -p1 -b .order %patch12 -p1 -b .rs-color +%patch13 -p1 -b .mh-color for i in Fixes WishList; do iconv -f iso-8859-1 -t utf-8 "$i" > "${i}_" && \ @@ -117,6 +119,10 @@ fi %{_mandir}/man1/*.1* %changelog +* Wed Aug 26 2009 Vitezslav Crhonek - 6.17-3 +- Add new colorls variable + Resolves: #518808 + * Sun Jul 26 2009 Fedora Release Engineering - 6.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild