From 7da55b4db316ad9398028479315a58e21ea3f72a Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 6 Oct 2020 14:16:11 -0600 Subject: [PATCH] Add missing #include for gcc-11 --- community-mysql-gcc11.patch | 13 +++++++++++++ community-mysql.spec | 7 ++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 community-mysql-gcc11.patch diff --git a/community-mysql-gcc11.patch b/community-mysql-gcc11.patch new file mode 100644 index 0000000..641ad2b --- /dev/null +++ b/community-mysql-gcc11.patch @@ -0,0 +1,13 @@ +index a826a081..00000000 +diff --git a/include/mysql/components/services/page_track_service.h b/include/mysql/components/services/page_track_service.h +index 103b5135..e6b3ba6f 100644 +--- a/include/mysql/components/services/page_track_service.h ++++ b/include/mysql/components/services/page_track_service.h +@@ -26,6 +26,7 @@ + + #include + #include ++#include + + #include + diff --git a/community-mysql.spec b/community-mysql.spec index 62426fb..59fcda5 100644 --- a/community-mysql.spec +++ b/community-mysql.spec @@ -73,7 +73,7 @@ Name: community-mysql Version: 8.0.21 -Release: 14%{?with_debug:.debug}%{?dist} +Release: 15%{?with_debug:.debug}%{?dist} Summary: MySQL client programs and shared libraries URL: http://www.mysql.com @@ -113,6 +113,7 @@ Patch55: %{pkgnamepatch}-rpath.patch Patch75: %{pkgnamepatch}-arm32-timer.patch Patch76: %{pkgnamepatch}-certs-expired.patch Patch77: %{pkgnamepatch}-lto.patch +Patch78: %{pkgnamepatch}-gcc11.patch # Patches taken from boost 1.59 Patch115: boost-1.58.0-pool.patch @@ -381,6 +382,7 @@ the MySQL sources. %patch75 -p1 %patch76 -p1 %patch77 -p1 +%patch78 -p1 # Patch Boost pushd boost/boost_$(echo %{boost_bundled_version}| tr . _) @@ -968,6 +970,9 @@ fi %endif %changelog +* Thu Oct 6 2020 Jeff Law - 8.0.21-15 +- Add missing #include for gcc-11 + * Thu Oct 1 13:33:42 CEST 2020 Zbigniew Jędrzejewski-Szmek - 8.0.21-14 - Rebuilt for libevent 2.1.12 (again)