summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/ucx')
-rw-r--r--sys-cluster/ucx/files/ucx-1.13.0-cstdint-include.patch20
-rw-r--r--sys-cluster/ucx/ucx-1.13.0.ebuild1
2 files changed, 21 insertions, 0 deletions
diff --git a/sys-cluster/ucx/files/ucx-1.13.0-cstdint-include.patch b/sys-cluster/ucx/files/ucx-1.13.0-cstdint-include.patch
new file mode 100644
index 000000000000..890c630c5792
--- /dev/null
+++ b/sys-cluster/ucx/files/ucx-1.13.0-cstdint-include.patch
@@ -0,0 +1,20 @@
+https://github.com/openucx/ucx/pull/8517
+
+From 8f70e898b43d1bde1ff3fae56bf0ac5aac285997 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Fri, 9 Sep 2022 11:35:03 +0100
+Subject: [PATCH] TEST/SOCKADDR: Add missing <cstdint> include for GCC 13
+
+Closes: https://github.com/openucx/ucx/issues/8347
+Signed-off-by: Sam James <sam@gentoo.org>
+--- a/test/apps/sockaddr/sa_util.h
++++ b/test/apps/sockaddr/sa_util.h
+@@ -7,6 +7,7 @@
+ #ifndef SA_UTIL_H_
+ #define SA_UTIL_H_
+
++#include <cstdint>
+ #include <iostream>
+ #include <sstream>
+ #include <string>
+
diff --git a/sys-cluster/ucx/ucx-1.13.0.ebuild b/sys-cluster/ucx/ucx-1.13.0.ebuild
index 983466a7cf98..309fe0901b82 100644
--- a/sys-cluster/ucx/ucx-1.13.0.ebuild
+++ b/sys-cluster/ucx/ucx-1.13.0.ebuild
@@ -26,6 +26,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.13.0-drop-werror.patch
"${FILESDIR}"/${PN}-1.13.0-fix-bashisms.patch
"${FILESDIR}"/${PN}-1.13.0-fix-fcntl-include-musl.patch
+ "${FILESDIR}"/${PN}-1.13.0-cstdint-include.patch
"${FILESDIR}"/${P}-binutils-2.39-ptr-typedef.patch
)