Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/libarchive/PKGBUILD
blob: 820c5b36e4b04e5009b32fd88b110d1c26cefb14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# temporarily for glibc 2.36, see FS#75533
source+=(0003-no-sys_mount-linux_fs-includes.patch)
sha256sums+=('cdb370df255245de557f0e6b1f780798a954771833d56602633b67db8cacce53')
eval "$(
  {
    declare -f prepare || \
    printf 'prepare() { cd "${pkgname}-${pkgver}"\n}\n'
  } \
  | sed '
    $ i patch -Np1 < ../0003-no-sys_mount-linux_fs-includes.patch
  '
)"

# tests fail if we don't set the locale excplicitely (most likely due
# to old devtools32)
eval "$(
  declare -f check | \
    sed '
      s/\(make check\)/LANG=en_US.UTF-8 LC_ALL=$LANG \1/g
    '
)"