Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/nss/PKGBUILD
blob: b6a978f16643b988e449c40fb018d1980d016078 (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
27
28
29
30
31
32
33
34
35
36
37
38
# 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
    '
)"

# signing of libs leads to a segfault on IA32, disabling it
eval "$(
  declare -f build | \
    sed '
      s/build.sh/build.sh -Dsign_libs=0 /g
    '
)"

# workaround FS32#218 (segfaults in library signer), use clang
#(also enable verbose builds, so we see potential issues)
makedepends+=(clang)
eval "$(
  declare -f build | \
    sed '
      s/build.sh/build.sh -v/g
      s/build.sh/build.sh --clang/g
    '
)"