# 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.6.5-atomic.patch') sha256sums+=('f7b88c37191d59019684f0692b35b1cd37a6a83863cdc506489cb487bb8a97fb') eval "$( declare -f prepare | \ sed ' /patch -Np1.*0001-arch-specific.patch/ a \ patch -Np1 -i "${srcdir}/mariadb-10.6.5-atomic.patch" ' )" fi