summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libtirpc/libtirpc/0001-xdr_float-do-not-include-bits-endian.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/libtirpc/libtirpc/0001-xdr_float-do-not-include-bits-endian.h.patch')
-rw-r--r--meta/recipes-extended/libtirpc/libtirpc/0001-xdr_float-do-not-include-bits-endian.h.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/meta/recipes-extended/libtirpc/libtirpc/0001-xdr_float-do-not-include-bits-endian.h.patch b/meta/recipes-extended/libtirpc/libtirpc/0001-xdr_float-do-not-include-bits-endian.h.patch
deleted file mode 100644
index 3797cdf521..0000000000
--- a/meta/recipes-extended/libtirpc/libtirpc/0001-xdr_float-do-not-include-bits-endian.h.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From d04f4d6f0e682f16b0ce96839ab4eadade591eb1 Mon Sep 17 00:00:00 2001
2From: Rosen Penev <rosenp@gmail.com>
3Date: Tue, 21 Jan 2020 11:51:16 -0500
4Subject: [PATCH] xdr_float: do not include bits/endian.h
5
6bits/endian.h is an internal header. endian.h should be included.
7
8Fixes compilation with recent musl.
9
10Signed-off-by: Rosen Penev <rosenp@gmail.com>
11Signed-off-by: Steve Dickson <steved@redhat.com>
12
13Upstream-Status: Backport [http://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=d04f4d6f0e682f16b0ce96839ab4eadade591eb1]
14Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
15---
16 src/xdr_float.c | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/src/xdr_float.c b/src/xdr_float.c
20index 26bc865..349d48f 100644
21--- a/src/xdr_float.c
22+++ b/src/xdr_float.c
23@@ -83,7 +83,7 @@ static struct sgl_limits {
24 };
25 #else
26
27-#include <bits/endian.h>
28+#include <endian.h>
29 #define IEEEFP
30
31 #endif /* vax */
32--
332.21.1
34