Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/mariadb/PKGBUILD
blob: 79494c26ae6901f7e8aea393e112c536e4f9465f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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