package/upmpdcli: add upstream patch to fix musl build issue
authorJörg Krause <joerg.krause@embedded.rocks>
Tue, 22 Jan 2019 19:18:27 +0000 (20:18 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 22 Jan 2019 21:45:44 +0000 (22:45 +0100)
commit255f9172377f98da18ce8797e1ddf35f8f369373
tree5dce17ced2f9b99744ef32cad9458c8ce08aec64
parent7675863549dde0b63df1916bbae0fb6cef6f8f44
package/upmpdcli: add upstream patch to fix musl build issue

upmpdcli 1.4.0 uses both the `uint64_t` and `u_int64_t` type. `uintN_t` is
standard C99 type available in `<stdint.h>`, whereas `u_intN_t` is defined in
`<sys/types.h>`.

Because of the missing include of `<sys/types.h>` building upmpdcli breaks now
when building with the musl C library, which is very strict:

```
src/mediaserver/cdplugins/netfetch.h:71:5: error: ‘u_int64_t’ does not name a type
     u_int64_t datacount() {
```

Add a patch from upstream which fixes the issue by replacing `u_int64_t`
with `uint64_t`.

Fixes:
http://autobuild.buildroot.net/results/f3082d2fdda8d73dbd9d3b65a08d844934066ef7

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/upmpdcli/0001-Use-uint64_t-instead-of-u_int64_t.patch [new file with mode: 0644]