You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-db/mariadb/files/mariadb-10.5.17-gcc-13.patch

24 lines
739 B

https://bugs.gentoo.org/895698
https://github.com/MariaDB/server/commit/75bbf645a66db797be2abd3a348dce32eb753acc
From 75bbf645a66db797be2abd3a348dce32eb753acc Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 24 Jan 2023 21:40:43 -0800
Subject: [PATCH] Add missing include <cstdio>
This is needed with GCC 13 and newer [1]
[1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html
Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/tpool/aio_linux.cc
+++ b/tpool/aio_linux.cc
@@ -19,6 +19,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 - 1301 USA*/
#ifdef LINUX_NATIVE_AIO
# include <thread>
# include <atomic>
+# include <cstdio>
# include <libaio.h>
# include <sys/syscall.h>