diff options
author | Jörg Krause <joerg.krause@embedded.rocks> | 2019-01-22 20:18:27 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2019-01-22 22:45:44 +0100 |
commit | 255f9172377f98da18ce8797e1ddf35f8f369373 (patch) | |
tree | 5dce17ced2f9b99744ef32cad9458c8ce08aec64 /package/libssh/0002-buffer-Use-size_t-for-argc-argument-in-ssh_buffer_-u.patch | |
parent | 7675863549dde0b63df1916bbae0fb6cef6f8f44 (diff) | |
download | buildroot-255f9172377f98da18ce8797e1ddf35f8f369373.tar.gz buildroot-255f9172377f98da18ce8797e1ddf35f8f369373.zip |
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>
Diffstat (limited to 'package/libssh/0002-buffer-Use-size_t-for-argc-argument-in-ssh_buffer_-u.patch')
0 files changed, 0 insertions, 0 deletions