[Buildroot] [PATCH] package/upmpdcli: add upstream patch to fix musl build issue

Peter Korsgaard peter at korsgaard.com
Tue Jan 22 21:47:41 UTC 2019


>>>>> "Jörg" == Jörg Krause <joerg.krause at embedded.rocks> writes:

 > 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 at embedded.rocks>

Committed, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list