Thanks, applied as 28a7d7667e32eb98ee2e7f25e88d48052a11d8f5.

Michael

[sent from post-receive hook]

On Thu, 08 Feb 2024 17:03:20 +0100, Michael Tretter <[email protected]> 
wrote:
> readline.pc contains Requires.private=ncurses, even if readline is built
> with ncursesw. When a user of readline uses pkg-config to ask for the
> cflags, the lookup fails if ncursesw without compatibility with ncurses
> is used.
> 
> Fix it by ensuring that ncurses compatibility is enabled if readline is
> built with ncurses.
> 
> Signed-off-by: Michael Tretter <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/readline.in b/rules/readline.in
> index 036860409a56..7673ce7497eb 100644
> --- a/rules/readline.in
> +++ b/rules/readline.in
> @@ -2,6 +2,7 @@
>  menuconfig READLINE
>       tristate
>       select NCURSES if READLINE_NCURSES
> +     select NCURSES_BACKWARD_COMPATIBLE_NON_WIDE_CHAR if READLINE_NCURSES && 
> NCURSES_WIDE_CHAR
>       select TERMCAP if READLINE_TERMCAP
>       select GCCLIBS_GCC_S
>       prompt "readline                      "

Reply via email to