summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2022-10-04 21:26:39 +0200
committerAlfredo Tupone <tupone@gentoo.org>2022-10-04 21:26:39 +0200
commit8b7ccb82d57e650d8a4e35a345ea3561461d34a2 (patch)
treea8c0f8f15fd95b28f03720422558450334bf58b6
parentdev-python/jarowinkler: Keyword 1.2.3 riscv, #873814 (diff)
downloadgentoo-8b7ccb82d57e650d8a4e35a345ea3561461d34a2.tar.gz
gentoo-8b7ccb82d57e650d8a4e35a345ea3561461d34a2.tar.bz2
gentoo-8b7ccb82d57e650d8a4e35a345ea3561461d34a2.zip
sci-libs/gloo: fix build
Closes: https://bugs.gentoo.org/873307 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
-rw-r--r--sci-libs/gloo/files/gloo-2022.05.18-gentoo.patch30
1 files changed, 30 insertions, 0 deletions
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;
+