diff options
author | 2020-03-16 12:22:20 -0400 | |
---|---|---|
committer | 2020-03-16 12:22:20 -0400 | |
commit | 7bedd26f1342bae405e65ed714dfd8b782d3130e (patch) | |
tree | d75fc946d8a4992a773cf2c03d09432654ae02fe /net-libs | |
parent | net-libs/libtirpc: arm64 stable (diff) | |
download | gentoo-7bedd26f1342bae405e65ed714dfd8b782d3130e.tar.gz gentoo-7bedd26f1342bae405e65ed714dfd8b782d3130e.tar.bz2 gentoo-7bedd26f1342bae405e65ed714dfd8b782d3130e.zip |
net-libs/libtirpc: backport fix for musl
Package-Manager: Portage-2.3.92_p3, Repoman-2.3.20_p118
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libtirpc/files/libtirpc-1.2.5-endian.h.patch | 31 | ||||
-rw-r--r-- | net-libs/libtirpc/libtirpc-1.2.5.ebuild | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/net-libs/libtirpc/files/libtirpc-1.2.5-endian.h.patch b/net-libs/libtirpc/files/libtirpc-1.2.5-endian.h.patch new file mode 100644 index 000000000000..8245d022bde6 --- /dev/null +++ b/net-libs/libtirpc/files/libtirpc-1.2.5-endian.h.patch @@ -0,0 +1,31 @@ +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> +--- + 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 */ +-- +1.8.3.1 + diff --git a/net-libs/libtirpc/libtirpc-1.2.5.ebuild b/net-libs/libtirpc/libtirpc-1.2.5.ebuild index 2189f57d8b74..0abd7d25782b 100644 --- a/net-libs/libtirpc/libtirpc-1.2.5.ebuild +++ b/net-libs/libtirpc/libtirpc-1.2.5.ebuild @@ -26,6 +26,7 @@ src_prepare() { cp -r "${WORKDIR}"/tirpc "${S}"/ || die local PATCHES=( "${FILESDIR}"/libtirpc-1.2.5-avoid-multiple-definition.patch + "${FILESDIR}"/libtirpc-1.2.5-endian.h.patch ) default eautoreconf |