summaryrefslogtreecommitdiff
path: root/extra/chromium/PKGBUILD
blob: 89997a42da216f1dfa98239a02d892cae75e18a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# work around linker errors, see https://bbs.archlinux32.org/viewtopic.php?pid=4894#p4894
eval "$(
declare -f build | \
  sed '
    /_flags/ a _flags+=('fatal_linker_warnings=false')
  '
)"

# fix regression uintptr_t in vaapi
source+=(chromium-vaapi-uintptr.patch)
sha256sums+=('67e4eccc8134fc422f86cc1f1371b84be11f6f84ec5f041ea6178e304f0fe995')

eval "$(
  declare -f prepare | \
    sed '
      /chromium-vaapi.patch/i patch -Np1 -i ../chromium-vaapi-uintptr.patch
    '
)"