diff --git a/Fix-gcc7-and-gcc8.patch b/Fix-gcc7-and-gcc8.patch index 7b6c4e8..5be13ab 100644 --- a/Fix-gcc7-and-gcc8.patch +++ b/Fix-gcc7-and-gcc8.patch @@ -1,4 +1,4 @@ -commit e325ecf9ecfabdb5ad5ad96f0ac025a2828b2dd3 +commit 7d87bd0f4679e7547678e2d26fca1277d2b8cbbd Author: Nicolas Morey-Chaisemartin Date: Wed Aug 9 17:31:57 2017 +0200 @@ -9,10 +9,10 @@ Date: Wed Aug 9 17:31:57 2017 +0200 Signed-off-by: Nicolas Morey-Chaisemartin diff --git configure.ac configure.ac -index 8840a41d8169..62aa0a738c2d 100644 +index 3a9246b87e89..7422cbc2103d 100644 --- configure.ac +++ configure.ac -@@ -246,6 +246,7 @@ AC_SEARCH_LIBS([sqlite3_initialize], [sqlite3], [SQLITE_SYSTEM_AVAILABLE="yes"], +@@ -296,6 +296,7 @@ AC_SEARCH_LIBS([sqlite3_initialize], [sqlite3], [SQLITE_SYSTEM_AVAILABLE="yes"], AM_CONDITIONAL([USE_LOCAL_SQLITE], [test "$SQLITE_SYSTEM_AVAILABLE" = no]) CFLAGS="$CFLAGS -DMST_UL" @@ -20,3 +20,18 @@ index 8840a41d8169..62aa0a738c2d 100644 CXXFLAGS="$CXXFLAGS -DMST_UL" AM_CFLAGS="-Wall" +@@ -314,6 +315,14 @@ AX_CHECK_COMPILE_FLAG([-Wno-implicit-fallthrough], [CFLAGS="$CFLAGS -Wno-implici + AX_CHECK_COMPILE_FLAG([-Wno-cast-function-type], [CFLAGS="$CFLAGS -Wno-cast-function-type"], [], []) + CFLAGS="$OLD_CFLAGS" + ++# C GCC [78] related ignores ++OLD_CPPFLAGS="$CPPFLAGS" ++CPPFLAGS="$CPPFLAGS -Wall -Werror" ++AX_CHECK_COMPILE_FLAG([-Wno-format-overflow], [CPPFLAGS="$CPPFLAGS -Wno-format-overflow"], [], []) ++AX_CHECK_COMPILE_FLAG([-Wno-implicit-fallthrough], [CPPFLAGS="$CPPFLAGS -Wno-implicit-fallthrough"], [], []) ++AX_CHECK_COMPILE_FLAG([-Wno-cast-function-type], [CPPFLAGS="$CPPFLAGS -Wno-cast-function-type"], [], []) ++CPPFLAGS="$OLD_CPPFLAGS" ++ + # C++ related ignores + OLD_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="$CXXFLAGS -Wall -Werror" diff --git a/Remove-date-time-info-from-build.patch b/Remove-date-time-info-from-build.patch index 8f25147..611acec 100644 --- a/Remove-date-time-info-from-build.patch +++ b/Remove-date-time-info-from-build.patch @@ -1,4 +1,4 @@ -commit 5f1b8c66deb4f825bc626a2cc8bf1251841bf9ac +commit cba2038916c5862ea38862b60939157f8a986226 Author: Nicolas Morey-Chaisemartin Date: Thu May 18 07:48:13 2017 +0200 @@ -7,10 +7,10 @@ Date: Thu May 18 07:48:13 2017 +0200 Signed-off-by: Nicolas Morey-Chaisemartin diff --git common/tools_version.h common/tools_version.h -index 2b6f16bf874e..5dc0239f31d6 100644 +index 32fe3c7e0684..7ce75ce3cdd5 100644 --- common/tools_version.h +++ common/tools_version.h -@@ -75,10 +75,8 @@ int get_version_string(char *buf, int buf_size, const char *exe_name, const char +@@ -74,10 +74,8 @@ int get_version_string(char *buf, int buf_size, const char *exe_name, const char len = snprintf(buf, buf_size, "%s %s, ", exe_name, tool_version); } // cut out first and last "$" from the SVN version string: diff --git a/fix-race-condition-during-install.patch b/fix-race-condition-during-install.patch index 4a0cd64..85c74ef 100644 --- a/fix-race-condition-during-install.patch +++ b/fix-race-condition-during-install.patch @@ -1,4 +1,4 @@ -commit 3f96689198c891694184f8f7d2570b1fcb8df438 +commit 77d8c2e2d7de83dc8202d99bb995c423299229fb Author: Nicolas Morey-Chaisemartin Date: Mon Oct 15 09:33:09 2018 +0200 @@ -7,7 +7,7 @@ Date: Mon Oct 15 09:33:09 2018 +0200 Signed-off-by: Nicolas Morey-Chaisemartin diff --git dev_mgt/Makefile.am dev_mgt/Makefile.am -index 907e5ce38a0b..28d506d095fb 100644 +index 3118b85f97a4..193abaf79e11 100644 --- dev_mgt/Makefile.am +++ dev_mgt/Makefile.am @@ -46,7 +46,7 @@ libdev_mgt_a_SOURCES = \ diff --git a/mstflint-4.15.0-1.tar.gz b/mstflint-4.15.0-1.tar.gz deleted file mode 100644 index 45df1c8..0000000 --- a/mstflint-4.15.0-1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3b3f6c6d8962513ed923fdb2da3d03a5e5e6827038ba16047881fdc413270b32 -size 5282659 diff --git a/mstflint-4.16.0-2.tar.gz b/mstflint-4.16.0-2.tar.gz new file mode 100644 index 0000000..014cbf7 --- /dev/null +++ b/mstflint-4.16.0-2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b277d36b07a2b5827f59c578d2922757cabe7e069eb4375bb4b6b85484bd929 +size 5592587 diff --git a/mstflint.changes b/mstflint.changes index 019634d..4a78676 100644 --- a/mstflint.changes +++ b/mstflint.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Apr 7 11:52:58 UTC 2021 - Nicolas Morey-Chaisemartin + +- Update to v4.16.0-2 + - mstlink tool + - Added support for PCIe eye grade scan + - Enabled margin scan on Network links + - Enabled querying the current host configuration using the "q | query" flag + - mstconfig tool + - fixed database + - fixed several bugs +- Refresh patches against latest sources: + - Remove-date-time-info-from-build.patch + - Fix-gcc7-and-gcc8.patch + - fix-race-condition-during-install.patch + ------------------------------------------------------------------- Wed Sep 23 07:55:04 UTC 2020 - Nicolas Morey-Chaisemartin diff --git a/mstflint.spec b/mstflint.spec index d4724ad..eb37684 100644 --- a/mstflint.spec +++ b/mstflint.spec @@ -1,7 +1,7 @@ # # spec file for package mstflint # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,13 +16,13 @@ # -%define extra_version -1 +%define extra_version -2 Name: mstflint -Version: 4.15.0 +Version: 4.16.0 Release: 0 Summary: Mellanox Firmware Burning and Diagnostics Tools -License: GPL-2.0-only OR BSD-2-Clause +License: BSD-2-Clause OR GPL-2.0-only Group: System/Console URL: http://www.openfabrics.org Obsoletes: mstflint-devel < %{version}