From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- app-shells/tcsh/files/tcsh-6.23.02-dircolors.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 app-shells/tcsh/files/tcsh-6.23.02-dircolors.patch (limited to 'app-shells/tcsh/files/tcsh-6.23.02-dircolors.patch') 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; + } -- cgit v1.2.3