summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Terbeck <ft@bewatermyfriend.org>2011-02-20 13:12:06 +0100
committerFrank Terbeck <ft@bewatermyfriend.org>2011-03-02 18:55:25 +0100
commit545b40eaf970df91420898303d8c1e558677ac63 (patch)
tree23e65cb620fe760a7a77b42974053ec04dfbd15a
parent56cc95c7906741512e94690fb58004b7369c99a9 (diff)
downloadzsh-545b40eaf970df91420898303d8c1e558677ac63.tar.gz
zsh-545b40eaf970df91420898303d8c1e558677ac63.zip
Fix colors function to work with ksh_arrays (Closes: #613162)
See <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613162> for details.
-rw-r--r--debian/patches/0001-colors-with-ksharrays.diff16
-rw-r--r--debian/patches/series1
2 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/0001-colors-with-ksharrays.diff b/debian/patches/0001-colors-with-ksharrays.diff
new file mode 100644
index 000000000..e696c7532
--- /dev/null
+++ b/debian/patches/0001-colors-with-ksharrays.diff
@@ -0,0 +1,16 @@
+Patch from upstream to fix #613162, see:
+ <http://www.zsh.org/mla/workers/2011/msg00196.html>
+
+Index: pkg-zsh/Functions/Misc/colors
+===================================================================
+--- pkg-zsh.orig/Functions/Misc/colors 2011-02-20 13:09:09.000000000 +0100
++++ pkg-zsh/Functions/Misc/colors 2011-02-20 13:09:28.000000000 +0100
+@@ -1,6 +1,8 @@
+ # Put standard ANSI color codes in shell parameters for easy use.
+ # Note that some terminals do not support all combinations.
+
++emulate -L zsh
++
+ typeset -Ag color colour
+
+ color=(
diff --git a/debian/patches/series b/debian/patches/series
index 986e86ac3..ca9b9d128 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0000-compsys-fuser-fix.diff
+0001-colors-with-ksharrays.diff