From f6c1bc49b5267aba71898428c10d521c71a1f88c Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 20 Oct 2020 09:54:49 -0600 Subject: [PATCH] Fix another missing #include for gcc-11 --- community-mysql-gcc11.patch | 12 ++++++++++++ community-mysql.spec | 5 ++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/community-mysql-gcc11.patch b/community-mysql-gcc11.patch index 641ad2b..8a030a8 100644 --- a/community-mysql-gcc11.patch +++ b/community-mysql-gcc11.patch @@ -11,3 +11,15 @@ index 103b5135..e6b3ba6f 100644 #include +diff --git a/sql-common/sql_string.cc b/sql-common/sql_string.cc +index 40435729..8b6ee827 100644 +--- a/sql-common/sql_string.cc ++++ b/sql-common/sql_string.cc +@@ -23,6 +23,7 @@ + #include "sql_string.h" + + #include ++#include + + #include "my_dbug.h" + #include "my_macros.h" diff --git a/community-mysql.spec b/community-mysql.spec index 59fcda5..2af4381 100644 --- a/community-mysql.spec +++ b/community-mysql.spec @@ -73,7 +73,7 @@ Name: community-mysql Version: 8.0.21 -Release: 15%{?with_debug:.debug}%{?dist} +Release: 16%{?with_debug:.debug}%{?dist} Summary: MySQL client programs and shared libraries URL: http://www.mysql.com @@ -970,6 +970,9 @@ fi %endif %changelog +* Tue Oct 20 2020 Jeff Law - 8.0.21-16 +- Fix another missing #include for gcc-11 + * Thu Oct 6 2020 Jeff Law - 8.0.21-15 - Add missing #include for gcc-11