summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libtirpc/libtirpc/musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/libtirpc/libtirpc/musl.patch')
-rw-r--r--meta/recipes-extended/libtirpc/libtirpc/musl.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/recipes-extended/libtirpc/libtirpc/musl.patch b/meta/recipes-extended/libtirpc/libtirpc/musl.patch
deleted file mode 100644
index 21cd9f9588..0000000000
--- a/meta/recipes-extended/libtirpc/libtirpc/musl.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1Consider musl provided built-in defines
2
3Helps compile libtirpc with musl
4bits/endian.h is not supposed to be included directly
5
6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8
9--- a/tirpc/rpc/types.h
10+++ b/tirpc/rpc/types.h
11@@ -66,7 +66,7 @@ typedef int32_t rpc_inline_t;
12 #define mem_free(ptr, bsize) free(ptr)
13
14
15-#if defined __APPLE_CC__ || defined __FreeBSD__
16+#if defined __APPLE_CC__ || defined __FreeBSD__ || !defined(__GLIBC__)
17 # define __u_char_defined
18 # define __daddr_t_defined
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 */