diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-29 19:32:52 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-29 19:33:10 +0000 |
commit | e0a676c728638a535ea80ae62ae5795fb0f6a706 (patch) | |
tree | bcbf634ff228513fc9cf7244da62eff1f2d2b03f /user/libtirpc/bsd-types.patch | |
parent | 884687f4f8338adfbd4150afaad1f747f3b16797 (diff) | |
download | packages-e0a676c728638a535ea80ae62ae5795fb0f6a706.tar.gz packages-e0a676c728638a535ea80ae62ae5795fb0f6a706.tar.bz2 packages-e0a676c728638a535ea80ae62ae5795fb0f6a706.tar.xz packages-e0a676c728638a535ea80ae62ae5795fb0f6a706.zip |
user/libtirpc: Bump to 1.2.5, fixes
* Define _BSD_SOURCE in <rpc/types.h> for building against in ISO C mode
* Fix location of <endian.h>
* Remove upstreamed musl compatibility patch.
Diffstat (limited to 'user/libtirpc/bsd-types.patch')
-rw-r--r-- | user/libtirpc/bsd-types.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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 <sys/types.h> + + typedef int32_t bool_t; |