summaryrefslogtreecommitdiff
path: root/extra/mariadb/PKGBUILD
blob: f9ff5654628129d69195badb0e772e7939747822 (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.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