diff --git a/dapl.changes b/dapl.changes index 7882c53..08c1fb2 100644 --- a/dapl.changes +++ b/dapl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 5 12:32:44 UTC 2024 - Nicolas Morey + +- Add openib-add-missing-include.patch to fix compilation + with GCC >= 14. + ------------------------------------------------------------------- Mon Feb 26 07:43:13 UTC 2024 - Dominique Leuenberger diff --git a/dapl.spec b/dapl.spec index 5a18961..263d570 100644 --- a/dapl.spec +++ b/dapl.spec @@ -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 diff --git a/openib-add-missing-include.patch b/openib-add-missing-include.patch new file mode 100644 index 0000000..de54865 --- /dev/null +++ b/openib-add-missing-include.patch @@ -0,0 +1,25 @@ +commit 374032b1777f85cde146fad8c3e557d8d71654de +Author: Nicolas Morey +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 + +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 + #include "dapl.h" + #include "dapl_adapter_util.h" + #include "dapl_evd_util.h"