mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
app-shells/tcsh: remove unused patches
Signed-off-by: Michael Mair-Keimberger <mm1ke@gentoo.org>
This commit is contained in:
parent
863c1eac18
commit
2a0d276b9e
@ -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;
|
||||
}
|
||||
@ -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;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user