summaryrefslogtreecommitdiff
path: root/extra/chromium/PKGBUILD
blob: 3bbadf17419c68825ec95c840bb25b6fbf2889b3 (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+=('c1b2285dec2acae6108a496cba9230680cd5eedf3467d4563ec4b546fc8224aa')

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