package/upmpdcli: add patch to fix jsoncpp detection
Although jsoncpp is present, the build system of upmpdcli does not detect it.
The default installation path for the header files of jsoncpp is
{prefix}/json, but some systems (Debian) prefers to install the headers
in {prefix}/jsoncpp/json.
The build system only checks for the header files in
{prefix}/jsoncpp/json, so jsoncpp is not found.
This patch from upstream handles both cases now when checking for the jsoncpp
library.
The patch is squashed of two commits from upstream:
1/
aba96db0cfe8a2e5c825f4448c0ad184e21b50e1
2/
ce144f19a8c2e8c1e0ec3fe53699e874e5eb43fe
Fixes:
http://autobuild.buildroot.net/results/
5bc6c558fccea0e1e1936894ce372f2b7b8ecac2
http://autobuild.buildroot.net/results/
9c2d3892f17c240c44f7255d821d66acbed361f0
http://autobuild.buildroot.net/results/
4d22729535ca4e6acbb48a25145611bb49c10149
http://autobuild.buildroot.net/results/
fda321774c3eb225f966dd9f83def5329b703a03
http://autobuild.buildroot.net/results/
f5eb306b0032e830f7f72ce80e318aa11774a5d1
.. and many more!
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>