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:
commit
f9fe51ad55
@ -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>
|
Mon Feb 26 07:43:13 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
19
dapl.spec
19
dapl.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Source0: https://www.openfabrics.org/downloads/dapl/dapl-%version.tar.gz
|
||||||
Source1: dapl-rpmlintrc
|
Source1: dapl-rpmlintrc
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
|
|
||||||
Patch1: dapl-2.0.30-dat-ia-open-hang.patch
|
Patch1: dapl-2.0.30-dat-ia-open-hang.patch
|
||||||
Patch5: dapl-define_NULL.patch
|
Patch2: dapl-define_NULL.patch
|
||||||
Patch6: dapl-man_page_fixes.patch
|
Patch3: dapl-man_page_fixes.patch
|
||||||
Patch7: dapl-fsf_address.patch
|
Patch4: dapl-fsf_address.patch
|
||||||
Patch12: dapl-s390.patch
|
Patch5: dapl-s390.patch
|
||||||
Patch13: dapl-add-arm-platform-support.patch
|
Patch6: dapl-add-arm-platform-support.patch
|
||||||
Patch14: ucm-mcm-fix-backlog-parameter-for-socket.patch
|
Patch7: ucm-mcm-fix-backlog-parameter-for-socket.patch
|
||||||
# PATCH-FIX-UPSTREAM http://git.openfabrics.org/?p=~ardavis/dapl.git;a=commitdiff;h=f1e05b7adcee629ee7c1d4d86ea55344d9309232
|
Patch8: reproducible.patch
|
||||||
Patch15: reproducible.patch
|
Patch9: openib-add-missing-include.patch
|
||||||
URL: http://www.openfabrics.org
|
URL: http://www.openfabrics.org
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
|
25
openib-add-missing-include.patch
Normal file
25
openib-add-missing-include.patch
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user