From 347f98af2ce0a5b6b945f9a251b8eeb53b3848f4 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sun, 15 Nov 2020 08:45:26 -0700 Subject: [PATCH] Fix argument type for StackLowerThanAddress to silence fatal gcc-11 diagnostic --- gtest.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gtest.spec b/gtest.spec index da126c7..70234f6 100644 --- a/gtest.spec +++ b/gtest.spec @@ -1,7 +1,7 @@ Summary: Google C++ testing framework Name: gtest Version: 1.10.0 -Release: 3%{?dist} +Release: 4%{?dist} # scripts/generator/* are ASL 2.0 License: BSD and ASL 2.0 URL: https://github.com/google/googletest @@ -18,6 +18,7 @@ Patch100: gtest-1.8.1-libversion.patch ## Add missing pkgconfig requires information to reflect reality ### Submitted: https://github.com/google/googletest/pull/2756 Patch101: gtest-1.10.0-add-missing-pkgconfig-requires.patch +Patch102: %{name}-gcc11.patch BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: cmake @@ -110,6 +111,9 @@ sed -e "s/set(GOOGLETEST_VERSION .*)/set(GOOGLETEST_VERSION %{version})/" -i CMa %{_libdir}/pkgconfig/gmock_main.pc %changelog +* Sun Nov 15 2020 Jeff Law - 1.10.0-4 +- Fix argument type for StackLowerThanAddress to silence fatal gcc-11 diagnostic + * Tue Jul 28 2020 Fedora Release Engineering - 1.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild