1 |
commit: 99bd8ef563596c956b6c133dfa2ade8330615dd7 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 9 10:38:13 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 9 10:38:40 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99bd8ef5 |
7 |
|
8 |
sys-cluster/ucx: fix build w/ GCC 13 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
.../ucx/files/ucx-1.13.0-cstdint-include.patch | 20 ++++++++++++++++++++ |
13 |
sys-cluster/ucx/ucx-1.13.0.ebuild | 1 + |
14 |
2 files changed, 21 insertions(+) |
15 |
|
16 |
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 |
17 |
new file mode 100644 |
18 |
index 000000000000..890c630c5792 |
19 |
--- /dev/null |
20 |
+++ b/sys-cluster/ucx/files/ucx-1.13.0-cstdint-include.patch |
21 |
@@ -0,0 +1,20 @@ |
22 |
+https://github.com/openucx/ucx/pull/8517 |
23 |
+ |
24 |
+From 8f70e898b43d1bde1ff3fae56bf0ac5aac285997 Mon Sep 17 00:00:00 2001 |
25 |
+From: Sam James <sam@g.o> |
26 |
+Date: Fri, 9 Sep 2022 11:35:03 +0100 |
27 |
+Subject: [PATCH] TEST/SOCKADDR: Add missing <cstdint> include for GCC 13 |
28 |
+ |
29 |
+Closes: https://github.com/openucx/ucx/issues/8347 |
30 |
+Signed-off-by: Sam James <sam@g.o> |
31 |
+--- a/test/apps/sockaddr/sa_util.h |
32 |
++++ b/test/apps/sockaddr/sa_util.h |
33 |
+@@ -7,6 +7,7 @@ |
34 |
+ #ifndef SA_UTIL_H_ |
35 |
+ #define SA_UTIL_H_ |
36 |
+ |
37 |
++#include <cstdint> |
38 |
+ #include <iostream> |
39 |
+ #include <sstream> |
40 |
+ #include <string> |
41 |
+ |
42 |
|
43 |
diff --git a/sys-cluster/ucx/ucx-1.13.0.ebuild b/sys-cluster/ucx/ucx-1.13.0.ebuild |
44 |
index 983466a7cf98..309fe0901b82 100644 |
45 |
--- a/sys-cluster/ucx/ucx-1.13.0.ebuild |
46 |
+++ b/sys-cluster/ucx/ucx-1.13.0.ebuild |
47 |
@@ -26,6 +26,7 @@ PATCHES=( |
48 |
"${FILESDIR}"/${PN}-1.13.0-drop-werror.patch |
49 |
"${FILESDIR}"/${PN}-1.13.0-fix-bashisms.patch |
50 |
"${FILESDIR}"/${PN}-1.13.0-fix-fcntl-include-musl.patch |
51 |
+ "${FILESDIR}"/${PN}-1.13.0-cstdint-include.patch |
52 |
"${FILESDIR}"/${P}-binutils-2.39-ptr-typedef.patch |
53 |
) |