summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-09-09 11:38:13 +0100
committerSam James <sam@gentoo.org>2022-09-09 11:38:40 +0100
commit99bd8ef563596c956b6c133dfa2ade8330615dd7 (patch)
treecbcc4158527db881cb2d22b876ecfb9b5370a90d /sys-cluster
parentdev-libs/tree-sitter-python: drop 0.19.1_p20211112 (diff)
downloadgentoo-99bd8ef563596c956b6c133dfa2ade8330615dd7.tar.gz
gentoo-99bd8ef563596c956b6c133dfa2ade8330615dd7.tar.bz2
gentoo-99bd8ef563596c956b6c133dfa2ade8330615dd7.zip
sys-cluster/ucx: fix build w/ GCC 13
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-cluster')
-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
)