Skip to contentSkip to conversation

mariadb: Bring back reworked aio patch

PATCH New Zoltán Böszörményi 1 participant 1 message Oct 13, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mariadb: Bring back reworked aio patch

The libaio subsystem in MariaDB was rewritten in 11.4.8, which made the previously used patch called 0001-aio_linux-Check-if-syscall-exists-before-using-it.patch non-applicable.

This patch was deleted in commit f3cd830c09 ("mariadb: 11.4.8") but it's still needed, because the original code was simply moved into a new source file.

Add a new patch applying the same change to tpool/aio_libaio.cc to fix the build error on riscv32.

---
 meta-oe/recipes-dbs/mysql/mariadb.inc         |  1 +
 ...ck-if-syscall-exists-before-using-it.patch | 49 +++++++++++++++++++
 2 files changed, 50 insertions(+)
 create mode 100644 meta-oe/recipes-dbs/mysql/mariadb/0001-aio_libaio-Check-if-syscall-exists-before-using-it.patch
meta-oe/recipes-dbs/mysql/mariadb.inc +1 -0
index 53a24d14bc..6e07f1ffa9 100644
@@ -15,6 +15,7 @@ SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \
            file://fix-arm-atomic.patch \
            file://0001-Fix-library-LZ4-lookup.patch \
            file://0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch \
+           file://0001-aio_libaio-Check-if-syscall-exists-before-using-it.patch \
            file://ssize_t.patch \
            file://sys_futex.patch \
            file://cross-compiling.patch \
meta-oe/recipes-dbs/mysql/mariadb/0001-aio_libaio-Check-if-syscall-exists-before-using-it.patch new file +49 -0

49 lines not on this page · raw message

Signature · 1 line
2.51.0