summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2021-05-18 13:34:44 +0200
committerFabian Groffen <grobian@gentoo.org>2021-05-18 13:35:10 +0200
commit0cbe880a5806bcf88d459f0527b1517081d4db98 (patch)
tree6e107c12c1afa18b74c0f304265e5ba981736009 /app-shells/tcsh/files/tcsh-6.21.04-no-nls.patch
parentnet-proxy/haproxy: SLZ is no longer an external dependency (diff)
downloadgentoo-0cbe880a5806bcf88d459f0527b1517081d4db98.tar.gz
gentoo-0cbe880a5806bcf88d459f0527b1517081d4db98.tar.bz2
gentoo-0cbe880a5806bcf88d459f0527b1517081d4db98.zip
app-shells/tcsh-6.2104: version bump
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'app-shells/tcsh/files/tcsh-6.21.04-no-nls.patch')
-rw-r--r--app-shells/tcsh/files/tcsh-6.21.04-no-nls.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/app-shells/tcsh/files/tcsh-6.21.04-no-nls.patch b/app-shells/tcsh/files/tcsh-6.21.04-no-nls.patch
new file mode 100644
index 000000000000..7f465d8a75ef
--- /dev/null
+++ b/app-shells/tcsh/files/tcsh-6.21.04-no-nls.patch
@@ -0,0 +1,18 @@
+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;
+ }