Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/extra-cmake-modules/PKGBUILD
blob: fa60d6a214320b29b83925cd4581af7365922aa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# workaround for i686 which generates warning about GNU_PROPERTY(5): size 0
source+=('extra-cmake-modules-5.59.0-ld-no-fatal-warning.patch')
sha256sums+=('045ec564ffacfffcc6ea1f6b7dc74860d0c51a8f85e93beec7e27d1fdbe97de7')

# 686-specific
if [ "${CARCH}" = "i686" ]; then
  eval "$(
    declare -f prepare | \
      sed '
        /.*patch.*/ a \
          patch -Np1 -i ../extra-cmake-modules-5.59.0-ld-no-fatal-warning.patch
      '
  )"
fi