From 17711c0f9d1f9761893f0a2954a65e52cbeaf3ba Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Fri, 30 Oct 2020 02:34:48 +0100 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/fcoe-utils.git#fe12778cd21ad820b8e928b524d8cdc660d278c8 --- fcoe-utils-gcc11.patch | 15 +++++++++++++++ fcoe-utils.spec | 6 +++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 fcoe-utils-gcc11.patch diff --git a/fcoe-utils-gcc11.patch b/fcoe-utils-gcc11.patch new file mode 100644 index 0000000..56953fa --- /dev/null +++ b/fcoe-utils-gcc11.patch @@ -0,0 +1,15 @@ +diff --git a/Makefile.am b/Makefile.am +index 2f323e4..d6bc3c3 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -25,6 +25,10 @@ fcping_CFLAGS = $(AM_CFLAGS) + ## rules for building fipvlan + fipvlan_SOURCES = fipvlan.c + fipvlan_LDADD = lib/libutil.a ++# These look like valid warnings, but the code may be fine in practice. Someone ++# with a deeper understanding of the source needs to chime in ++fipvlan_CFLAGS = $(AM_CFLAGS) -Wno-error=array-bounds -Wno-stringop-overread ++ + + AUTOMAKE_OPTIONS=subdir-objects + noinst_LIBRARIES = lib/libutil.a libopenfcoe.a diff --git a/fcoe-utils.spec b/fcoe-utils.spec index 4809eac..2f06862 100644 --- a/fcoe-utils.spec +++ b/fcoe-utils.spec @@ -7,7 +7,7 @@ Name: fcoe-utils Version: 1.0.33 -Release: 0.git%{shortcommit0}%{?dist} +Release: 1.git%{shortcommit0}%{?dist} Summary: Fibre Channel over Ethernet utilities License: GPLv2 URL: http://www.open-fcoe.org @@ -18,6 +18,7 @@ Source3: fcoe.config ExcludeArch: ppc s390 Patch1: 0001-21-string-op-truncation-format-truncation-and-format.patch Patch2: 0002-use-of-uninitialized-values-detected-during-LTO.patch +Patch3: %{name}-gcc11.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libpciaccess-devel @@ -83,6 +84,9 @@ rm -f %{buildroot}/%{_sysconfdir}/fcoe/config %{_libexecdir}/fcoe/ %changelog +* Wed Oct 28 2020 Jeff Law - 1.0.33-1.gitfe376de +- Disable fatal diagnostics from gcc-11 for fipvlan + * Mon Sep 21 2020 Chris Leech - 1.0.33-0.gitfe376de - FTBFS: fix gcc 10.2 truncation and overflow errors - rebase to 1.0.33+ from new upstream location