kumquat-buildroot/package/fbterm
Peter Seiderer 806ca1e767 fbterm: fix musl compile (missing string.h include)
Fixes [1]:

  mouse.cpp: In function 's32 open_gpm(Gpm_Connect*)':
  mouse.cpp:58:37: error: 'memset' was not declared in this scope
    memset((s8 *)&addr, 0, sizeof(addr));
                                     ^
  mouse.cpp:60:64: error: 'strncpy' was not declared in this scope
    strncpy(addr.sun_path, GPM_NODE_CTL, sizeof(addr.sun_path) - 1);

in case BR2_PACKAGE_GPM is defined.

Add proper gpm dependency and configure option too.

[1] http://autobuild.buildroot.net/results/a60/a602d61e68f662217ad868de79711a8ea892a3a9

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-02-19 16:36:56 +01:00
..
0001-fbio.cpp-improxy.cpp-fbterm.cpp-fix-musl-compile.patch
0002-mouse.cpp-fix-musl-compile.patch
Config.in
fbterm.hash
fbterm.mk