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
This commit is contained in:
Jan Engelhardt 2023-03-06 12:24:21 +00:00 committed by Git OBS Bridge
parent dfc3070ec1
commit 1c9eb00a8e
3 changed files with 30 additions and 0 deletions

23
gcc13-fix.patch Normal file
View File

@ -0,0 +1,23 @@
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>
---
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 <cstdint>
#include <iostream>
#include <sstream>
#include <string>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 6 12:18:52 UTC 2023 - Martin Liška <mliska@suse.cz>
- Add upstream gcc13-fix.patch fix.
-------------------------------------------------------------------
Mon Jan 16 09:45:05 UTC 2023 - Andreas Schwab <schwab@suse.de>

View File

@ -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