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>
This commit is contained in:
Rosen Penev
2020-01-02 22:27:19 -08:00
parent e020c10eb2
commit efc94a457c
4 changed files with 45 additions and 15 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
--- a/config_f.h
+++ b/config_f.h
@@ -139,11 +139,8 @@
@@ -138,11 +138,8 @@
* This can be much slower and no memory statistics will be
* provided.
*/
+14
View File
@@ -0,0 +1,14 @@
--- 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;
}
+11
View File
@@ -0,0 +1,11 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -447,7 +447,7 @@ pure:$(P) ${OBJS}
gethost: gethost.c sh.err.h tc.const.h sh.h
rm -f gethost
- ${CC_FOR_GETHOST} -o gethost ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} $(srcdir)/gethost.c
+ ${CC_FOR_GETHOST} -o gethost $(srcdir)/gethost.c
tc.defs.c: gethost host.defs
@rm -f $@.tmp