mpd: fix compilation with uClibc-ng
authorRosen Penev <rosenp@gmail.com>
Fri, 31 Jan 2020 05:02:11 +0000 (21:02 -0800)
committerRosen Penev <rosenp@gmail.com>
Tue, 4 Feb 2020 04:28:03 +0000 (20:28 -0800)
commitc00f83241bcdf5fdb8422c96bccc739838ccce8e
tree49ff110d5de8e7cd32fdc8b5d8caa3847ab4b37d
parent41834a33ace168dcb8b92b70bfd6b71f9e4ed752
mpd: fix compilation with uClibc-ng

With mpd's build system, it requires either an iconv built into the libc
or icu. Since uClibc-ng as configured by OpenWrt currently has no iconv,
use icu for it to work around the problem. This is the simplest solution.

Added a patch to use boost's rounding functions. They are more appropriate
and work with uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
sound/mpd/Makefile
sound/mpd/patches/010-treewide-use-boost-lround-when-std-round-is-unavaila.patch [new file with mode: 0644]
sound/mpd/patches/020-volume_mapping-get-rid-of-exp10-workaround.patch [new file with mode: 0644]
sound/mpd/patches/030-treewide-get-rid-of-C-math-function-usage.patch [new file with mode: 0644]