diff options
-rw-r--r-- | meta/recipes-extended/libtirpc/libtirpc/musl.patch | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/meta/recipes-extended/libtirpc/libtirpc/musl.patch b/meta/recipes-extended/libtirpc/libtirpc/musl.patch index 0c3ce603ea..21cd9f9588 100644 --- a/meta/recipes-extended/libtirpc/libtirpc/musl.patch +++ b/meta/recipes-extended/libtirpc/libtirpc/musl.patch | |||
@@ -1,13 +1,14 @@ | |||
1 | Consider musl provided built-in defines | 1 | Consider musl provided built-in defines |
2 | 2 | ||
3 | Helps compile libtirpc with musl | 3 | Helps compile libtirpc with musl |
4 | bits/endian.h is not supposed to be included directly | ||
4 | 5 | ||
5 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | 8 | ||
8 | --- ./tirpc/rpc/types.h.orig 2018-03-17 10:23:10.022055255 +0100 | 9 | --- a/tirpc/rpc/types.h |
9 | +++ ./tirpc/rpc/types.h 2018-03-17 10:23:30.877751656 +0100 | 10 | +++ b/tirpc/rpc/types.h |
10 | @@ -66,7 +66,7 @@ | 11 | @@ -66,7 +66,7 @@ typedef int32_t rpc_inline_t; |
11 | #define mem_free(ptr, bsize) free(ptr) | 12 | #define mem_free(ptr, bsize) free(ptr) |
12 | 13 | ||
13 | 14 | ||
@@ -16,3 +17,14 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
16 | # define __u_char_defined | 17 | # define __u_char_defined |
17 | # define __daddr_t_defined | 18 | # define __daddr_t_defined |
18 | #endif | 19 | #endif |
20 | --- a/src/xdr_float.c | ||
21 | +++ b/src/xdr_float.c | ||
22 | @@ -83,7 +83,7 @@ static struct sgl_limits { | ||
23 | }; | ||
24 | #else | ||
25 | |||
26 | -#include <bits/endian.h> | ||
27 | +#include <endian.h> | ||
28 | #define IEEEFP | ||
29 | |||
30 | #endif /* vax */ | ||