[Buildroot] [PATCH 01/01] sngrep: fix wchar detection.

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed May 31 20:07:12 UTC 2017


Hello,

On Thu, 25 May 2017 10:47:49 -0400, Adam Duskett wrote:
> Ncurses detection is currently broken in buildroot.
> 
> This patch does the following:
>  - Add SNGREP_CHECK_SCRIPT to configure.ac which checks for a
>    libname, a function in that library, sets a define if found, and
>    if not found, moves on to the next part. This is taken from the
>    htop configure.ac.
> 
>  - Adds SNGREP_CHECK_LIB to configure.ac which checks for a
>    library, a function within that library, sets a define if that function
>    is found, and if not found, moves on to the next part.
>    This is taken from the htop configure.ac
> 
>  - Modifies scrollbar.h and ui_panel.h to include <wctypes.h> instead of
>    <ncursesw/ncurses.h> if unicode is supported.
> 
> Signed-off-by: Adam Duskett <aduskett at codeblue.com>
> ---
>  .../sngrep/0001-fix-ncurses-wchar-detection.patch  | 119 +++++++++++++++++++++

Could you try first to upstream this in the sngrep project? It's a
non-trivial change, so it would be nice to get upstream approval on
this.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list