diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /app-shells/tcsh/files/tcsh-6.23.02-dircolors.patch | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'app-shells/tcsh/files/tcsh-6.23.02-dircolors.patch')
-rw-r--r-- | app-shells/tcsh/files/tcsh-6.23.02-dircolors.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app-shells/tcsh/files/tcsh-6.23.02-dircolors.patch b/app-shells/tcsh/files/tcsh-6.23.02-dircolors.patch new file mode 100644 index 000000000000..2fb21476fd29 --- /dev/null +++ b/app-shells/tcsh/files/tcsh-6.23.02-dircolors.patch @@ -0,0 +1,27 @@ +Based on original Debian patch, updated from 6.14 to 6.20 and 6.23 + +silently ignore bad colour variables, for defaults have unsupported ones + +https://bugs.gentoo.org/120792 + +--- a/tw.color.c ++++ b/tw.color.c +@@ -381,16 +381,14 @@ + if ((Char)variables[i].variable[0] == (v[0] & CHAR) && + (Char)variables[i].variable[1] == (v[1] & CHAR)) + break; ++ v += 3; + if (i < nvariables) { +- v += 3; + getstring(&c, &v, &variables[i].color, ':'); + if (i == VSym) + color_as_referent = strcasecmp( + variables[VSym].color.s, "target") == 0; +- continue; + } +- else +- stderror(ERR_BADCOLORVAR, v[0], v[1]); ++ continue; + } + break; + } |