[Buildroot] [PATCH v1] libv4l/ir-ctl: fix musl compile
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Feb 14 21:43:46 UTC 2017
Hello,
On Tue, 14 Feb 2017 21:34:50 +0100, Peter Seiderer wrote:
> - add copy of TEMP_FAILURE_RETRY macro
> - use strdup instead of strdupa
>
> Fixes [1]:
>
> ir-ctl.c:(.text+0xb06): undefined reference to `strndupa'
> ir-ctl.c:(.text+0xe01): undefined reference to `TEMP_FAILURE_RETRY'
>
> [1] http://autobuild.buildroot.net/results/b8b96c7bbf2147dacac62485cbfdbcfd758271a5
>
> Signed-off-by: Peter Seiderer <ps.report at gmx.net>
> ---
> .../0002-ir-ctl-fixes-for-musl-compile.patch | 59 ++++++++++++++++++++++
> 1 file changed, 59 insertions(+)
> create mode 100644 package/libv4l/0002-ir-ctl-fixes-for-musl-compile.patch
Applied to master, thanks. Please submit the patch upstream. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list