From 908778078736bd36f7a60a2d576d415cb8e000fa Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 22 May 2021 07:31:18 +0100 Subject: gentoo resync : 22.05.2021 --- app-shells/tcsh/files/tcsh-6.21.04-no-nls.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app-shells/tcsh/files/tcsh-6.21.04-no-nls.patch (limited to 'app-shells/tcsh/files/tcsh-6.21.04-no-nls.patch') 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; + } -- cgit v1.2.3