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