From e0a676c728638a535ea80ae62ae5795fb0f6a706 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 29 Dec 2019 19:32:52 +0000 Subject: user/libtirpc: Bump to 1.2.5, fixes * Define _BSD_SOURCE in for building against in ISO C mode * Fix location of * Remove upstreamed musl compatibility patch. --- user/libtirpc/bsd-types.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 user/libtirpc/bsd-types.patch (limited to 'user/libtirpc/bsd-types.patch') diff --git a/user/libtirpc/bsd-types.patch b/user/libtirpc/bsd-types.patch new file mode 100644 index 000000000..3fbe378b8 --- /dev/null +++ b/user/libtirpc/bsd-types.patch @@ -0,0 +1,12 @@ +u_int32_t (etc) is a BSD type. Define _BSD_SOURCE so musl declares it. + +--- libtirpc-1.2.5/tirpc/rpc/types.h.old 2019-12-19 18:55:48.000000000 +0000 ++++ libtirpc-1.2.5/tirpc/rpc/types.h 2019-12-29 19:17:59.146261005 +0000 +@@ -38,6 +38,7 @@ + #ifndef _TIRPC_TYPES_H + #define _TIRPC_TYPES_H + ++#define _BSD_SOURCE + #include + + typedef int32_t bool_t; -- cgit v1.2.3-60-g2f50