1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-20 07:38:40 +02:00
openwrt-packages/utils/tcsh/patches/010-wint.patch
Rosen Penev efc94a457c
tcsh: Update to 6.22.02
Updated URL list. Changed to HTTPS also.

Added PKG_BUILD_PARALLEL for faster compilation.

Added PKG_INSTALL as is standard with most packages.

Small optimization to shell script.

Added two patches to fix compilation. Refreshed the other one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-05 17:11:46 -08:00

15 lines
324 B
Diff

--- a/ed.inputl.c
+++ b/ed.inputl.c
@@ -668,9 +668,9 @@ int
GetCmdChar(Char ch)
{
#ifndef WINNT_NATIVE // We use more than 256 for various extended keys
- wint_t c = ch & CHAR;
+ Char c = ch & CHAR;
#else
- wint_t c = ch;
+ Char c = ch;
#endif
return c < NT_NUM_KEYS ? CurrentKeyMap[c] : F_INSERT;
}