Accepting request 1198992 from science:HPC

OBS-URL: https://build.opensuse.org/request/show/1198992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dapl?expand=0&rev=13
This commit is contained in:
Ana Guerrero 2024-09-06 15:18:18 +00:00 committed by Git OBS Bridge
commit f9fe51ad55
3 changed files with 41 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Sep 5 12:32:44 UTC 2024 - Nicolas Morey <nicolas.morey@suse.com>
- Add openib-add-missing-include.patch to fix compilation
with GCC >= 14.
-------------------------------------------------------------------
Mon Feb 26 07:43:13 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -31,15 +31,16 @@ Release: 0
Source0: https://www.openfabrics.org/downloads/dapl/dapl-%version.tar.gz
Source1: dapl-rpmlintrc
Source2: baselibs.conf
Patch1: dapl-2.0.30-dat-ia-open-hang.patch
Patch5: dapl-define_NULL.patch
Patch6: dapl-man_page_fixes.patch
Patch7: dapl-fsf_address.patch
Patch12: dapl-s390.patch
Patch13: dapl-add-arm-platform-support.patch
Patch14: ucm-mcm-fix-backlog-parameter-for-socket.patch
# PATCH-FIX-UPSTREAM http://git.openfabrics.org/?p=~ardavis/dapl.git;a=commitdiff;h=f1e05b7adcee629ee7c1d4d86ea55344d9309232
Patch15: reproducible.patch
Patch2: dapl-define_NULL.patch
Patch3: dapl-man_page_fixes.patch
Patch4: dapl-fsf_address.patch
Patch5: dapl-s390.patch
Patch6: dapl-add-arm-platform-support.patch
Patch7: ucm-mcm-fix-backlog-parameter-for-socket.patch
Patch8: reproducible.patch
Patch9: openib-add-missing-include.patch
URL: http://www.openfabrics.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf

View File

@ -0,0 +1,25 @@
commit 374032b1777f85cde146fad8c3e557d8d71654de
Author: Nicolas Morey <nmorey@suse.com>
Date: Thu Sep 5 14:30:20 2024 +0200
openib: add missing include
Add include to fix compilation with GCC >= 14:
dapl/openib_scm/cm.c: In function 'dapli_socket_connected':
dapl/openib_scm/cm.c:576:23: error: implicit declaration of function 'writev'; did you mean 'write'? [-Wimplicit-function-declaration]
576 | len = writev(cm_ptr->socket, iov, 2);
Signed-off-by: Nicolas Morey <nmorey@suse.com>
diff --git dapl/openib_scm/cm.c dapl/openib_scm/cm.c
index 29b45dff75dc..167f6fa7a5ab 100644
--- dapl/openib_scm/cm.c
+++ dapl/openib_scm/cm.c
@@ -51,6 +51,7 @@
#define DAPL_FD_SETSIZE FD_SETSIZE
#endif
+#include <sys/uio.h>
#include "dapl.h"
#include "dapl_adapter_util.h"
#include "dapl_evd_util.h"