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