summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-musl-res_querydomain.patch
blob: 921f5edc82f88c99d6597b91a1f943bbc766c8ee (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
39
40
41
42
43
44
45
46
From caa19231196d73541445728e6813c8fa70345acb Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Tue, 26 Jun 2018 15:59:00 +0800
Subject: [PATCH] nfs-utils: 2.1.1 -> 2.3.1

Fixed:
configure: error: res_querydomain needed

Upstream-Status: Pending [https://github.com/alpinelinux/aports/blob/master/main/nfs-utils/musl-configure_ac.patch]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>

---
 configure.ac | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 50002b4..dcadb23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -582,10 +582,10 @@ my_am_cflags="\
  -Wall \
  -Wextra \
  $rpcgen_cflags \
- -Werror=missing-prototypes \
- -Werror=missing-declarations \
+ -Wmissing-prototypes \
+ -Wmissing-declarations \
  -Werror=format=2 \
- -Werror=undef \
+ -Wundef \
  -Werror=missing-include-dirs \
  -Werror=strict-aliasing=2 \
  -Werror=init-self \
@@ -614,10 +614,9 @@ AC_DEFUN([CHECK_CCSUPPORT], [
 
 CHECK_CCSUPPORT([-Werror=format-overflow=2], [flg1])
 CHECK_CCSUPPORT([-Werror=int-conversion], [flg2])
-CHECK_CCSUPPORT([-Werror=incompatible-pointer-types], [flg3])
 CHECK_CCSUPPORT([-Werror=misleading-indentation], [flg4])
 
-AC_SUBST([AM_CFLAGS], ["$my_am_cflags $flg1 $flg2 $flg3 $flg4"])
+AC_SUBST([AM_CFLAGS], ["$my_am_cflags $flg1 $flg2 $flg4"])
 
 # Make sure that $ACLOCAL_FLAGS are used during a rebuild
 AC_SUBST([ACLOCAL_AMFLAGS], ["-I $ac_macro_dir \$(ACLOCAL_FLAGS)"])