[Buildroot] [PATCH v2] ncurses: add support for 256 colors

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Feb 3 16:55:01 UTC 2015

Dear Thierry Bultel,

On Sat, 13 Dec 2014 08:18:59 +0100, Thierry Bultel wrote:
> ---
> Changes v1 -> v2:
>   - extended colors enabled by default (suggested by Yann E. MORIN)
>     Namely, size delta is negligible:
>     with 256 colors:
>      -rwxr-xr-x 1 thierry thierry 210K déc.   9 14:23 output/target/usr/lib/libncursesw.so.6.0
>     with std colors:
>      -rwxr-xr-x 1 thierry thierry 202K déc.   9 15:46 output/target/usr/lib/libncursesw.so.5.9
>   - the option, now selected by default, still needs ABI 6, and support of widechar. Thus it
>     is conditional in ncurses.mk, and we keep ABI 5 when widechar is not available
> Signed-off-by: Thierry Bultel <tbultel at free.fr>

Your SoB line should have been before the "---" line above.

I've fixed the nano package to use $(NCURSES_CONFIG_SCRIPTS) since the
256 colors enabled ncurses has a different config script name.

Applied with this change.


Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering

More information about the buildroot mailing list