summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/libtirpc/libtirpc/musl.patch18
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 @@
1Consider musl provided built-in defines 1Consider musl provided built-in defines
2 2
3Helps compile libtirpc with musl 3Helps compile libtirpc with musl
4bits/endian.h is not supposed to be included directly
4 5
5Upstream-Status: Pending 6Upstream-Status: Pending
6Signed-off-by: Khem Raj <raj.khem@gmail.com> 7Signed-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 */