faad2: fix build with musl libc
authorBaruch Siach <baruch@tkos.co.il>
Wed, 16 Aug 2017 10:53:05 +0000 (13:53 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 16 Aug 2017 21:18:56 +0000 (23:18 +0200)
commit6f6795d77ddddd8a8ff63e13f9d7fe0a907a434d
tree12e311eece439fb4b80f4d462f4200c75204a42d
parentbcca31aff6d0a65f680f6fb19cce458a7a4980a6
faad2: fix build with musl libc

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@zacarias.com.ar>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/faad2/0001-getopt-fix-strncmp-declaration.patch [new file with mode: 0644]