alsa-utils: fix conflics with pthread.h
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Wed, 9 Dec 2015 10:44:48 +0000 (10:44 +0000)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 10 Dec 2015 22:00:24 +0000 (23:00 +0100)
commit751cb66cddc487eb4c2364ff8f28804470265ae7
treee3892e6ae9857cfbe5124d4dfb2c0d2943f4fbb5
parentb87242316b40830675696d4580a52550e4b61338
alsa-utils: fix conflics with pthread.h

Backport two upstream patches to fix a build failure due to conflicts
with pthread.h:

signal.h:27: error: conflicting types for 'sin_generator_init'
./signal.h:27: error: previous declaration of 'sin_generator_init' was
here
signal.h:28: error: conflicting types for 'sin_generator_next_sample'
./signal.h:28: error: previous declaration of
'sin_generator_next_sample' was here
....

Upstream patches:

  http://git.alsa-project.org/?p=alsa-utils.git;a=commit;h=3bf8e79c3bfee3ca14277aad3d9c406dfc053bbf
  http://git.alsa-project.org/?p=alsa-utils.git;a=commit;h=ed0cce1b6061aade0077982cb5d22fa68ddffd2f

Fixes:

  http://autobuild.buildroot.net/results/b11/b114ac7a25ac95a059418b07c6cad25714d19b77/

[Peter: fix patch 0002 description]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/alsa-utils/0001-bat-Avoid-local-signal.h-file.patch [new file with mode: 0644]
package/alsa-utils/0002-bat-Don-t-pass-incompatible-function-pointers-to-pth.patch [new file with mode: 0644]