# add -latomic where needed (i486) # patch mainly from VoidLinux, applying on i486 as it seems to fail on i686 and pentium4 if [ "$CARCH" = 'i486' ]; then source+=('mariadb-10.5.10-atomic.patch') sha256sums+=('b235236c9a872a4921e5c6e57dbcc75e52d544ddd6ed4ac84ebd627853207b15') eval "$( declare -f prepare | \ sed ' /patch -Np1.*0001-arch-specific.patch/ a \ patch -Np1 -i "${srcdir}/mariadb-10.5.10-atomic.patch" ' )" fi