package/mpd: add patch to fix linking with ogg
commit159bbae9db0d03a1e5557be70fd9bb17f9babf2a
authorJörg Krause <joerg.krause@embedded.rocks>
Thu, 12 Jan 2017 08:03:15 +0000 (12 09:03 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 13 Jan 2017 15:15:56 +0000 (13 16:15 +0100)
tree85496aec2a4a9050ac211515d4f564b82f3bcec0
parent4bab93be70ba576668a9fa19d0ff92ce2b97c905
package/mpd: add patch to fix linking with ogg

Building mpds internal static xiph library needs to link with libogg.
Otherwise building mpd fails with:

```
/mips-linux-gnu/bin/ld: libxiph.a(libxiph_a-OggVisitor.o): undefined
reference to symbol 'ogg_stream_packetout'
```

Add a patch which adds OGG_LIBS to XIPH_LIBS so that the linker finds
the necessary ogg library.

Fixes:
http://autobuild.buildroot.net/results/9f0/9f062dc51daed5c5047faa8d79ecbd4e228f2572/
http://autobuild.buildroot.net/results/1cc/1cc097c5022bd3161dc03b0866cb04075c944a64/
http://autobuild.buildroot.net/results/2e3/2e3dbcdea34053675a0139c1911b6da1a6670e2c/
.. and more.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mpd/0002-Makefile.am-fix-linking-xiph-with-ogg.patch [new file with mode: 0644]