Fix build with GCC 13 for Fedora >= 38
This commit is contained in:
parent
290ae2f2bc
commit
303a5e3af1
12
community-mysql-gcc13.patch
Normal file
12
community-mysql-gcc13.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/sql/binlog/group_commit/bgc_ticket.h b/sql/binlog/group_commit/bgc_ticket.h
|
||||
index 34c76ab2..307ae627 100644
|
||||
--- a/sql/binlog/group_commit/bgc_ticket.h
|
||||
+++ b/sql/binlog/group_commit/bgc_ticket.h
|
||||
@@ -23,6 +23,7 @@
|
||||
#ifndef BINLOG_BCG_TICKET_H
|
||||
#define BINLOG_BCG_TICKET_H
|
||||
|
||||
+#include <cstdint>
|
||||
#include <functional>
|
||||
#include <limits>
|
||||
#include <memory>
|
@ -118,6 +118,7 @@ Patch51: %{pkgnamepatch}-sharedir.patch
|
||||
Patch52: %{pkgnamepatch}-rpath.patch
|
||||
Patch53: %{pkgnamepatch}-mtr.patch
|
||||
Patch54: %{pkgnamepatch}-arm32-timer.patch
|
||||
Patch55: %{pkgnamepatch}-gcc13.patch
|
||||
|
||||
# Patches taken from boost 1.59
|
||||
Patch111: boost-1.58.0-pool.patch
|
||||
@ -388,6 +389,10 @@ the MySQL sources.
|
||||
%patch52 -p1
|
||||
%patch53 -p1
|
||||
%patch54 -p1
|
||||
# The GCC 13 has been first introdced in the Fedora 38
|
||||
%if 0%{?fedora} >= 38 || 0%{?rhel} > 9
|
||||
%patch55 -p1
|
||||
%endif
|
||||
|
||||
# Patch Boost
|
||||
pushd boost/boost_$(echo %{boost_bundled_version}| tr . _)
|
||||
|
Loading…
Reference in New Issue
Block a user