From 8b7ccb82d57e650d8a4e35a345ea3561461d34a2 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Tue, 4 Oct 2022 21:26:39 +0200 Subject: sci-libs/gloo: fix build Closes: https://bugs.gentoo.org/873307 Signed-off-by: Alfredo Tupone --- sci-libs/gloo/files/gloo-2022.05.18-gentoo.patch | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'sci-libs/gloo') diff --git a/sci-libs/gloo/files/gloo-2022.05.18-gentoo.patch b/sci-libs/gloo/files/gloo-2022.05.18-gentoo.patch index e445dc9effdb..09f7588a1858 100644 --- a/sci-libs/gloo/files/gloo-2022.05.18-gentoo.patch +++ b/sci-libs/gloo/files/gloo-2022.05.18-gentoo.patch @@ -72,3 +72,33 @@ #include "gloo/common/linux.h" #include "gloo/common/logging.h" +--- a/gloo/transport/tcp/tls/pair.cc 2022-10-04 21:14:04.099150060 +0200 ++++ b/gloo/transport/tcp/tls/pair.cc 2022-10-04 21:14:22.330886610 +0200 +@@ -17,6 +17,7 @@ + + #include + #include ++#include + + namespace gloo { + namespace transport { +--- a/gloo/common/linux.cc 2022-10-04 21:20:21.401691929 +0200 ++++ b/gloo/common/linux.cc 2022-10-04 21:23:13.924192100 +0200 +@@ -198,7 +198,7 @@ + } ecmd; + int rv; + +- ifr->ifr_data = (__caddr_t)&ecmd; ++ ifr->ifr_data = (char *)&ecmd; + memset(&ecmd, 0, sizeof(ecmd)); + ecmd.req.cmd = ETHTOOL_GLINKSETTINGS; + +@@ -226,7 +226,7 @@ + struct ethtool_cmd edata; + int rv; + +- ifr->ifr_data = (__caddr_t)&edata; ++ ifr->ifr_data = (char *)&edata; + memset(&edata, 0, sizeof(edata)); + edata.cmd = ETHTOOL_GSET; + -- cgit v1.2.3-65-gdbad