From 1c9eb00a8ead87b7e0bd4571fcff10c9d4b8bfa5c14956577d1e784c64ee7a24 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 6 Mar 2023 12:24:21 +0000 Subject: [PATCH] Accepting request 1069627 from home:marxin:branches:science:HPC - Add upstream gcc13-fix.patch fix. OBS-URL: https://build.opensuse.org/request/show/1069627 OBS-URL: https://build.opensuse.org/package/show/science:HPC/openucx?expand=0&rev=55 --- gcc13-fix.patch | 23 +++++++++++++++++++++++ openucx.changes | 5 +++++ openucx.spec | 2 ++ 3 files changed, 30 insertions(+) create mode 100644 gcc13-fix.patch diff --git a/gcc13-fix.patch b/gcc13-fix.patch new file mode 100644 index 0000000..b362955 --- /dev/null +++ b/gcc13-fix.patch @@ -0,0 +1,23 @@ +From 8f70e898b43d1bde1ff3fae56bf0ac5aac285997 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Fri, 9 Sep 2022 11:35:03 +0100 +Subject: [PATCH] TEST/SOCKADDR: Add missing include for GCC 13 + +Closes: https://github.com/openucx/ucx/issues/8347 +Signed-off-by: Sam James +--- + test/apps/sockaddr/sa_util.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/test/apps/sockaddr/sa_util.h b/test/apps/sockaddr/sa_util.h +index 90c9649443f..c77ccc9a849 100644 +--- 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 + #include + #include + #include diff --git a/openucx.changes b/openucx.changes index a2ccdb7..ece16fa 100644 --- a/openucx.changes +++ b/openucx.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 6 12:18:52 UTC 2023 - Martin Liška + +- Add upstream gcc13-fix.patch fix. + ------------------------------------------------------------------- Mon Jan 16 09:45:05 UTC 2023 - Andreas Schwab diff --git a/openucx.spec b/openucx.spec index cb014d2..db9254b 100644 --- a/openucx.spec +++ b/openucx.spec @@ -30,6 +30,7 @@ Source: https://github.com/openucx/ucx/releases/download/v%version/ucx-% Patch1: openucx-s390x-support.patch Patch2: ucm-fix-UCX_MEM_MALLOC_RELOC.patch Patch3: UCS-DEBUG-replace-PTR-with-void.patch +Patch4: gcc13-fix.patch BuildRequires: autoconf >= 2.63 BuildRequires: automake >= 1.10 BuildRequires: binutils-devel @@ -139,6 +140,7 @@ hardware. %endif %patch2 %patch3 +%patch4 -p1 %build autoreconf -fi