Re: v4l-utils fails to build against musl libc (with patch)

2018-03-07 Thread Baruch Siach
Hi Bjorn,

On Wed, Mar 07, 2018 at 12:14:05PM -0500, Bjorn Pagen wrote:
> Here's the link again and it's tinyurl, since the link seems to be
> borked because of line wraparounds:
> 
> https://git.alpinelinux.org/cgit/aports/tree/community/v4l-utils/0001-ir-ctl-fixes-for-musl-compile.patch
> https://tinyurl.com/y7gr6eju

Peter Seiderer posted a fix for that to the list a few days ago.

  https://www.mail-archive.com/linux-media@vger.kernel.org/msg127134.html

baruch

> On Wed, Mar 7, 2018 at 12:11 PM,   wrote:
> > Hey all,
> >
> > v4l-utils currently fails to build against musl libc, since musl, and
> > POSIX, both do not define TEMP_FAILURE_RETRY() or strndupa().
> >
> > This can be fixed with a small patch from https://git.alpinelinux.org/c
> > git/aports/tree/community/v4l-utils/0001-ir-ctl-fixes-for-musl-compile.
> > patch.
> >
> > Please email me back with any questions or concerns about the patch or
> > musl.
> >
> > Thanks,
> > Bjorn Pagen

-- 
 http://baruch.siach.name/blog/  ~. .~   Tk Open Systems
=}ooO--U--Ooo{=
   - bar...@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -


Re: v4l-utils fails to build against musl libc (with patch)

2018-03-07 Thread Bjorn Pagen
Here's the link again and it's tinyurl, since the link seems to be
borked because of line wraparounds:

https://git.alpinelinux.org/cgit/aports/tree/community/v4l-utils/0001-ir-ctl-fixes-for-musl-compile.patch
https://tinyurl.com/y7gr6eju

On Wed, Mar 7, 2018 at 12:11 PM,   wrote:
> Hey all,
>
> v4l-utils currently fails to build against musl libc, since musl, and
> POSIX, both do not define TEMP_FAILURE_RETRY() or strndupa().
>
> This can be fixed with a small patch from https://git.alpinelinux.org/c
> git/aports/tree/community/v4l-utils/0001-ir-ctl-fixes-for-musl-compile.
> patch.
>
> Please email me back with any questions or concerns about the patch or
> musl.
>
> Thanks,
> Bjorn Pagen



-- 
Bjorn Pagen


v4l-utils fails to build against musl libc (with patch)

2018-03-07 Thread bjornpagen
Hey all,

v4l-utils currently fails to build against musl libc, since musl, and
POSIX, both do not define TEMP_FAILURE_RETRY() or strndupa(). 

This can be fixed with a small patch from https://git.alpinelinux.org/c
git/aports/tree/community/v4l-utils/0001-ir-ctl-fixes-for-musl-compile.
patch.

Please email me back with any questions or concerns about the patch or
musl.

Thanks,
Bjorn Pagen