commit: 8b7ccb82d57e650d8a4e35a345ea3561461d34a2 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Tue Oct 4 19:26:39 2022 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Tue Oct 4 19:26:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b7ccb82
sci-libs/gloo: fix build Closes: https://bugs.gentoo.org/873307 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> sci-libs/gloo/files/gloo-2022.05.18-gentoo.patch | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) 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 <cstring> + #include <poll.h> ++#include <array> + + 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; +