diff options
author | Christian Eggers <ceggers@arri.de> | 2022-02-14 11:18:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-16 09:46:29 +0000 |
commit | 94296651b64dadb50dd09ce420bbae98137c8e6e (patch) | |
tree | 98c8d4c5cd4eb681899fdd8eed7287618b0cc567 /scripts | |
parent | e645f9ff550fbb49a04eac67e94298414f3135f6 (diff) | |
download | poky-94296651b64dadb50dd09ce420bbae98137c8e6e.tar.gz |
mc: fix build if ncurses have been configured without wide characters
Some distros like poky-tiny set ENABLE_WIDEC=false, which disables wide
character support for ncurses. The new patch fixes the build of mc for
this case.
Since 9000f8033662, NCURSES_WIDECHAR is set explicitly to 1 for musl.
This doesn't work for ENABLE_WIDEC==false. In this case,
NCURSES_WIDECHAR must be set explicitly to 0, as curses.h does not
record whether the ncurses library has actually been built with or
without wide characters.
Fixes: 9000f8033662 ("mc: upgrade 4.8.25 -> 4.8.26")
(From OE-Core rev: b176d86f5292c0e8cca2500be03ed392d59cedb3)
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions