[Buildroot] [PATCH v2] sngrep: fix wchar detection.

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Jun 8 19:35:24 UTC 2017


Hello,

On Wed,  7 Jun 2017 11:53:16 -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>
> ---
> Changes v1 -> v2:
>   - Added # Locally computed header to sngrep.hash

Applied to master, after fixing the commit log, which wasn't
appropriate anymore.

Thanks!

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



More information about the buildroot mailing list