summaryrefslogtreecommitdiff
path: root/user/mariadb/missing-header.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-05-28 20:52:47 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-07 09:58:12 -0500
commitab8517eeeaaff589b17a8908d8ae836e86055aff (patch)
tree6cb44b7fa3dd4a1d2b4a8273cb90d1da2b274277 /user/mariadb/missing-header.patch
parentd8954611a725ead01605afd252a6f4bfadfec59a (diff)
downloadpackages-ab8517eeeaaff589b17a8908d8ae836e86055aff.tar.gz
packages-ab8517eeeaaff589b17a8908d8ae836e86055aff.tar.bz2
packages-ab8517eeeaaff589b17a8908d8ae836e86055aff.tar.xz
packages-ab8517eeeaaff589b17a8908d8ae836e86055aff.zip
user/mariadb: Add patch for build on GCC 13
Diffstat (limited to 'user/mariadb/missing-header.patch')
-rw-r--r--user/mariadb/missing-header.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/mariadb/missing-header.patch b/user/mariadb/missing-header.patch
new file mode 100644
index 000000000..bdb89daa3
--- /dev/null
+++ b/user/mariadb/missing-header.patch
@@ -0,0 +1,12 @@
+Needed for compilation on GCC 13.
+
+--- mariadb-10.6.4/tpool/aio_linux.cc.old 2021-08-03 09:48:41.000000000 -0500
++++ mariadb-10.6.4/tpool/aio_linux.cc 2024-05-28 18:55:26.914066003 -0500
+@@ -18,6 +18,7 @@
+
+ # include <thread>
+ # include <atomic>
++# include <cstdio>
+ # include <libaio.h>
+ # include <sys/syscall.h>
+