From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Tue, 14 Feb 2017 22:43:46 +0100 Subject: [Buildroot] [PATCH v1] libv4l/ir-ctl: fix musl compile In-Reply-To: <20170214203450.7449-1-ps.report@gmx.net> References: <20170214203450.7449-1-ps.report@gmx.net> Message-ID: <20170214224346.152cb954@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 > --- > .../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