app-shells/tcsh: remove unused patches

Signed-off-by: Michael Mair-Keimberger <mm1ke@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger 2025-12-12 16:59:41 +01:00
parent 863c1eac18
commit 2a0d276b9e
No known key found for this signature in database
GPG Key ID: 03B489CBE4B76101
2 changed files with 0 additions and 45 deletions

View File

@ -1,18 +0,0 @@
GetCmdChar: fix compilation with --disable-nls
Bug: https://bugs.gentoo.org/689904
--- a/ed.inputl.c
+++ b/ed.inputl.c
@@ -668,9 +668,9 @@
GetCmdChar(Char ch)
{
#ifndef WINNT_NATIVE // We use more than 256 for various extended keys
- wint_t c = ch & CHAR;
+ eChar c = ch & CHAR;
#else
- wint_t c = ch;
+ eChar c = ch;
#endif
return c < NT_NUM_KEYS ? CurrentKeyMap[c] : F_INSERT;
}

View File

@ -1,27 +0,0 @@
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;
}