package/upmpdcli: add patch to use pkg-config for libupnpp
authorJörg Krause <joerg.krause@embedded.rocks>
Thu, 15 Sep 2016 06:40:00 +0000 (08:40 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 17 Sep 2016 11:35:31 +0000 (13:35 +0200)
commit56d878a92727ee8883975e1fead4e4d2206ff62f
tree473048e696f951cb8d4818669e832cedf1980961
parentaf4d2b27d61d2ef232da3371772d1b2f99d3d40d
package/upmpdcli: add patch to use pkg-config for libupnpp

Building upmpdcli aborts because of an unsafe header inclusion of
`/usr/include/libupnpp`. Using `{prefix}` to get the header path is
wrong for cross-compilation.

Instead of hard-coding the flags for libupnpp use pkg-config to get the
correct ones.

Note that this patch adds the host-pkgconfig dependency unconditionally and
removes the necessity to pass the libupnpp manually to LIBS for a static
build.

Upstream-status: https://github.com/medoc92/upmpdcli/pull/49

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/upmpdcli/0002-use-pkg-config-for-libupnpp.patch [new file with mode: 0644]
package/upmpdcli/upmpdcli.mk