[blfs-dev] alsa-lib-1.0.26 patch to fix a missing include header

Wayne Blaszczyk wblaszcz at bigpond.net.au
Sat Mar 30 15:06:41 PDT 2013


Hi,

I had an issue building MythTV on LFS 7.3.
Turns out to be the following bug(s) with alsa-lib:
https://bugs.launchpad.net/bugs/1109298
https://bugzilla.redhat.com/show_bug.cgi?id=885306

The following patch has been applied upstream:
http://git.alsa-project.org/?p=alsa-lib.git;a=commit;h=3e7dc283ed2d3ed2341f0657811c588f4dbcba6d

The following sed worked for me:
sed -i '/#include <stdlib.h>/ a\
#include <sys/types.h>' include/asoundlib-head.h

Is it worth adding this into the book? I suspect it might impact other
packages that rely on alsa-lib.

Regards,
Wayne.




More information about the blfs-dev mailing list