summaryrefslogtreecommitdiff
path: root/core/nfs-utils/PKGBUILD
blob: ebc9254064d7d731359d3043200476f8b9aece24 (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
# sprintf format patches: https://marc.info/?l=linux-nfs&m=155854918115682&w=2
source+=(nfs-utils-2.3.4-nfsdcld-sqlite-PRIx.patch)
sha256sums+=('0238536da610dbde313d9f2d367c6f2b19039f0bae36175af5c46c4a7d2f36bf')
eval "$(
  declare -f prepare | \
    sed '
      /.*autoreconf.*/i patch -p1 < ../nfs-utils-2.3.4-nfsdcld-sqlite-PRIx.patch
    '
)"

# linking errors for statdb_dump test program
source+=(nfs-utils-2.3.4-testing-statdb_dump-linking.patch)
sha256sums+=('e92a5a3e537a356c45c071a346ba47f8f15f76a221804b3e82eca13e330238be')
eval "$(
  declare -f prepare | \
    sed '
      /.*autoreconf.*/i patch -p1 < ../nfs-utils-2.3.4-testing-statdb_dump-linking.patch
    '
)"

# -Werror==missing-prototypes aborts 'make check' because 'nlm_sm_prog_3' and
# 'nlm_sm_prog_4' get no prototypes in 'nlm_sm_inter.h' when generated with 'rpcgen'
# (could be a bug in 'rpcsvc-proto')
source+=(nfs-utils-2.3.4-rpcgen-missing-prototype.patch)
sha256sums+=('dc950cd90fe8bb623b376af12f6181804f165f26714cb547d459f790d9c248bb')
eval "$(
  declare -f prepare | \
    sed '
      /.*autoreconf.*/i patch -p1 < ../nfs-utils-2.3.4-rpcgen-missing-prototype.patch
    '
)"

# Why is the toplevel one missing? PKGBUILD (nfs-utils) E: Missing description in PKGBUILD
pkgdesc="Support programs for Network File Systems"