Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/mariadb/PKGBUILD
blob: 74c912d63cba88b87e9889f4e7ca1ed477e24354 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# add -latomic where needed
# e.g.TARGET_LINK_LIBRARIES(mariabackup sql crc atomic)
source+=('mariadb-10.1.32-atomic.patch')
sha256sums+=('194e43ca5468d4f4634f45eed6aaf08865c2d351fcc500696d4dc578fe94902e')
eval "$(
  declare -f prepare | \
    sed '
      /patch -Np1.*openssl-1-1-0.patch/ a \ patch -Np1 -i "${srcdir}/mariadb-10.1.32-atomic.patch"
    '
)"

# 486-specific
if [ "${CARCH}" = "i486" ]; then
  # no java
  eval "$(
    declare -f build | \
      sed '
        s/cmake /cmake -DCONNECT_WITH_JDBC=0 /
      '
  )"
fi

# temporarily skip signature check - remove, when upstream fixed the PKGBUILD
if [ "$pkgver-$pkgrel" = '10.4.10-2' ]; then
  unset source[1]
  unset sha256sums[1]
else
  # let us fail horribly
  unset build
fi