summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvcrhonek <vcrhonek@fedoraproject.org>2009-08-26 15:06:48 +0000
committervcrhonek <vcrhonek@fedoraproject.org>2009-08-26 15:06:48 +0000
commit4d814962797eaa8bcf48718284f8efc417824317 (patch)
tree284160078ea8f329d6f2df91dffa21d75761a39d
parent45575d5e805f2b9b12b0e8f61c91b32e78f20264 (diff)
downloadtcsh-rebase-6.19.00-4d814962797eaa8bcf48718284f8efc417824317.tar.gz
tcsh-rebase-6.19.00-4d814962797eaa8bcf48718284f8efc417824317.tar.xz
tcsh-rebase-6.19.00-4d814962797eaa8bcf48718284f8efc417824317.zip
Add new colorls variable
-rw-r--r--tcsh-6.17.00-mh-color.patch12
-rw-r--r--tcsh.spec8
2 files changed, 19 insertions, 1 deletions
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 <vcrhonek@redhat.com> - 6.17-3
+- Add new colorls variable
+ Resolves: #518808
+
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.17-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild