Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/nss/PKGBUILD
blob: 385f910c20be8cab5f3856e28026ed9c48afb06b (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
# bring back changes of 617b84f70caf

source+=(nss-3.58-no-plt.patch)
sha256sums+=('3d08665a7d693f495bd965e4f629cbf4671d4cf00567a391fd0b2e0e40153d57')

eval "$(
  declare -f prepare | \
    sed '
      /cd nss-/a patch -Np2 -i "$srcdir/nss-3.58-no-plt.patch"
    '
)"

# set IA32 as target for build.sh
eval "$(
  declare -f build | \
    sed '
      s/--target x64/--target ia32/g
    '
)"

# temporary workaround for FS#72612
for ((i=0; i<${#sha256sums[@]}; i++)); do
  if [ "${sha256sums[${i}]}" = '6848428fa18be2f05b7f1ed0696fc853b4cfa2c0c3ac3d3cfbb4a5ca7429e7f4' ]; then
    sha256sums[${i}]='6ea60a9ff113e493ea2ab25f41ea75a9fbd10af7903f26f703dac8680732d02e'
  fi
done