alsa-lib: add patch to fix incorrect code dependency
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 11 Aug 2017 21:21:02 +0000 (23:21 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 12 Aug 2017 16:27:10 +0000 (18:27 +0200)
commit1757932dfc9796ea82754baeced9730ce812afc0
tree157ef51ddc6fa8d742e9fe40b61c97642e2a4985
parent0ba4a139f5344a294af8c154980efc0f3db288ba
alsa-lib: add patch to fix incorrect code dependency

This commit adds a patch to alsa-lib that fixes an incorrect code
dependency: some code built when MIDI support is enabled is
unconditionally referencing code that is built when SEQ support is
enabled, both options being independent.

This causes build failures such as:

/home/buildroot/buildroot-test/instance-1/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libasound.a(pcm_dmix.o): In function `snd_pcm_dmix_sync_ptr':
pcm_dmix.c:(.text+0x83c): warning:
/home/buildroot/buildroot-test/instance-1/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libasound.a(rawmidi_symbols.o):(.data+0x4): undefined reference to `_snd_module_rawmidi_virt'

Fixes:

  http://autobuild.buildroot.net/results/5964e7028c31a8f75b38a27270410f0b3c5c8422/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Arnout: add upstream link to the patch]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/alsa-lib/0005-src-rawmidi-rawmidi_symbols.c-use-rawmidi_virt-only-.patch [new file with mode: 0644]