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