[Buildroot] [PATCH] faad2: fix build with musl libc

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Aug 16 21:19:07 UTC 2017


Hello,

On Wed, 16 Aug 2017 13:53:05 +0300, Baruch Siach wrote:
> The getopt.c code declares the strncmp() routine in a non confirming way
> under non GNU libc. Patch the code to make the declaration standard
> conforming.
> 
> Fixes:
> http://autobuild.buildroot.net/results/447/4471be349d7ad2e998a4d55afd33aa046a5d1fd2/
> http://autobuild.buildroot.net/results/2a9/2a90f4f518884fb50f7ad6ab505dee7565ed869e/
> http://autobuild.buildroot.net/results/6b1/6b159b766d791492bab4d897c33ce07845fb7119/
> 
> Cc: Gustavo Zacarias <gustavo at zacarias.com.ar>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
> ---
>  .../0001-getopt-fix-strncmp-declaration.patch      | 40 ++++++++++++++++++++++
>  1 file changed, 40 insertions(+)
>  create mode 100644 package/faad2/0001-getopt-fix-strncmp-declaration.patch

Applied to master, thanks.

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


More information about the buildroot mailing list