mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
libtirpc: upgrade 1.1.4 -> 1.2.5
Drop musl patch and backport a fix from upstream instead. (From OE-Core rev: 009dbec9058bf43e63eeabdd24ecad990bf22568) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b3bfb64529
commit
32f9d3b56f
+34
@@ -0,0 +1,34 @@
|
||||
From d04f4d6f0e682f16b0ce96839ab4eadade591eb1 Mon Sep 17 00:00:00 2001
|
||||
From: Rosen Penev <rosenp@gmail.com>
|
||||
Date: Tue, 21 Jan 2020 11:51:16 -0500
|
||||
Subject: [PATCH] xdr_float: do not include bits/endian.h
|
||||
|
||||
bits/endian.h is an internal header. endian.h should be included.
|
||||
|
||||
Fixes compilation with recent musl.
|
||||
|
||||
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
||||
Signed-off-by: Steve Dickson <steved@redhat.com>
|
||||
|
||||
Upstream-Status: Backport [http://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=d04f4d6f0e682f16b0ce96839ab4eadade591eb1]
|
||||
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
||||
---
|
||||
src/xdr_float.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/xdr_float.c b/src/xdr_float.c
|
||||
index 26bc865..349d48f 100644
|
||||
--- a/src/xdr_float.c
|
||||
+++ b/src/xdr_float.c
|
||||
@@ -83,7 +83,7 @@ static struct sgl_limits {
|
||||
};
|
||||
#else
|
||||
|
||||
-#include <bits/endian.h>
|
||||
+#include <endian.h>
|
||||
#define IEEEFP
|
||||
|
||||
#endif /* vax */
|
||||
--
|
||||
2.21.1
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
Consider musl provided built-in defines
|
||||
|
||||
Helps compile libtirpc with musl
|
||||
bits/endian.h is not supposed to be included directly
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
|
||||
--- a/tirpc/rpc/types.h
|
||||
+++ b/tirpc/rpc/types.h
|
||||
@@ -66,7 +66,7 @@ typedef int32_t rpc_inline_t;
|
||||
#define mem_free(ptr, bsize) free(ptr)
|
||||
|
||||
|
||||
-#if defined __APPLE_CC__ || defined __FreeBSD__
|
||||
+#if defined __APPLE_CC__ || defined __FreeBSD__ || !defined(__GLIBC__)
|
||||
# define __u_char_defined
|
||||
# define __daddr_t_defined
|
||||
#endif
|
||||
--- a/src/xdr_float.c
|
||||
+++ b/src/xdr_float.c
|
||||
@@ -83,7 +83,7 @@ static struct sgl_limits {
|
||||
};
|
||||
#else
|
||||
|
||||
-#include <bits/endian.h>
|
||||
+#include <endian.h>
|
||||
#define IEEEFP
|
||||
|
||||
#endif /* vax */
|
||||
+3
-3
@@ -10,12 +10,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f835cce8852481e4b2bbbdd23b5e47f3 \
|
||||
PROVIDES = "virtual/librpc"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2 \
|
||||
file://musl.patch \
|
||||
file://0001-xdr_float-do-not-include-bits-endian.h.patch \
|
||||
"
|
||||
UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/libtirpc/files/libtirpc/"
|
||||
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/"
|
||||
SRC_URI[md5sum] = "f5d2a623e9dfbd818d2f3f3a4a878e3a"
|
||||
SRC_URI[sha256sum] = "2ca529f02292e10c158562295a1ffd95d2ce8af97820e3534fe1b0e3aec7561d"
|
||||
SRC_URI[md5sum] = "688787ddff7c6a92ef15ae3f5dc4dfa1"
|
||||
SRC_URI[sha256sum] = "f3b6350c7e9c3cd9c58fc7a5e5f8e6be469cc571bb5eb31eb9790b3e675186ca"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
Reference in New Issue
Block a user