[Buildroot] [PATCH v1] fbterm: fix musl compile

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Oct 10 09:38:15 UTC 2015


Dear Peter Seiderer,

On Thu,  8 Oct 2015 20:35:02 +0200, Peter Seiderer wrote:
> - add missing include, fixes:
> 
>   fbio.cpp:33:8: error: ‘fd_set’ does not name a type
>    static fd_set fds;
> 
>   improxy.cpp:439:3: error: ‘fd_set’ was not declared in this scope
> 
> - add missing WAIT_ANY define, fixes:
> 
>   fbterm.cpp: In member function ‘void FbTerm::processSignal(u32)’:
>   fbterm.cpp:212:22: error: ‘WAIT_ANY’ was not declared in this scope
>       s32 pid = waitpid(WAIT_ANY, 0, WNOHANG);
> 
> Fixes:
> http://autobuild.buildroot.net/results/ab2/ab2334700b44bac233994b76f2acf1795f0
> 
> Signed-off-by: Peter Seiderer <ps.report at gmx.net>
> ---
>  ...p-improxy.cpp-fbterm.cpp-fix-musl-compile.patch | 70 ++++++++++++++++++++++
>  1 file changed, 70 insertions(+)
>  create mode 100644 package/fbterm/0001-fbio.cpp-improxy.cpp-fbterm.cpp-fix-musl-compile.patch

Applied, thanks. However, this project is still hosted on Google Code,
and has not seen any release since 2010. Not nice since it means we
cannot upstream the patch :-/

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


More information about the buildroot mailing list