diff options
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-musl-res_querydomain.patch')
-rw-r--r-- | meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-musl-res_querydomain.patch | 43 |
1 files changed, 39 insertions, 4 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-musl-res_querydomain.patch b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-musl-res_querydomain.patch index a169e6a222..22002fadca 100644 --- a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-musl-res_querydomain.patch +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-musl-res_querydomain.patch | |||
@@ -1,17 +1,24 @@ | |||
1 | From caa19231196d73541445728e6813c8fa70345acb Mon Sep 17 00:00:00 2001 | ||
2 | From: Robert Yang <liezhi.yang@windriver.com> | ||
3 | Date: Tue, 26 Jun 2018 15:59:00 +0800 | ||
4 | Subject: [PATCH] nfs-utils: 2.1.1 -> 2.3.1 | ||
5 | |||
1 | Fixed: | 6 | Fixed: |
2 | configure: error: res_querydomain needed | 7 | configure: error: res_querydomain needed |
3 | 8 | ||
4 | Upstream-Status: Pending [https://git.alpinelinux.org/cgit/aports/tree/main/nfs-utils/musl-res_querydomain.patch?id=f6734a77d3caee73325f8cc1f77d1b5117a75096] | 9 | Upstream-Status: Pending [https://github.com/alpinelinux/aports/blob/master/main/nfs-utils/musl-configure_ac.patch] |
5 | 10 | ||
6 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | 11 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> |
12 | |||
7 | --- | 13 | --- |
8 | configure.ac | 2 +- | 14 | configure.ac | 13 ++++++------- |
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | 15 | 1 file changed, 6 insertions(+), 7 deletions(-) |
10 | 16 | ||
11 | diff --git a/configure.ac b/configure.ac | 17 | diff --git a/configure.ac b/configure.ac |
18 | index 276dec3..760238b 100644 | ||
12 | --- a/configure.ac | 19 | --- a/configure.ac |
13 | +++ b/configure.ac | 20 | +++ b/configure.ac |
14 | @@ -401,7 +401,7 @@ if test "$enable_gss" = yes; then | 21 | @@ -408,7 +408,7 @@ if test "$enable_gss" = yes; then |
15 | fi | 22 | fi |
16 | 23 | ||
17 | dnl libdnsidmap specific checks | 24 | dnl libdnsidmap specific checks |
@@ -20,3 +27,31 @@ diff --git a/configure.ac b/configure.ac | |||
20 | 27 | ||
21 | AC_ARG_ENABLE([ldap], | 28 | AC_ARG_ENABLE([ldap], |
22 | [AS_HELP_STRING([--disable-ldap],[Disable support for LDAP @<:default=detect@:>@])]) | 29 | [AS_HELP_STRING([--disable-ldap],[Disable support for LDAP @<:default=detect@:>@])]) |
30 | @@ -547,11 +547,11 @@ my_am_cflags="\ | ||
31 | -pipe \ | ||
32 | -Wall \ | ||
33 | -Wextra \ | ||
34 | - -Werror=strict-prototypes \ | ||
35 | - -Werror=missing-prototypes \ | ||
36 | - -Werror=missing-declarations \ | ||
37 | + -Wstrict-prototypes \ | ||
38 | + -Wmissing-prototypes \ | ||
39 | + -Wmissing-declarations \ | ||
40 | -Werror=format=2 \ | ||
41 | - -Werror=undef \ | ||
42 | + -Wundef \ | ||
43 | -Werror=missing-include-dirs \ | ||
44 | -Werror=strict-aliasing=2 \ | ||
45 | -Werror=init-self \ | ||
46 | @@ -579,10 +579,9 @@ AC_DEFUN([CHECK_CCSUPPORT], [ | ||
47 | |||
48 | CHECK_CCSUPPORT([-Werror=format-overflow=2], [flg1]) | ||
49 | CHECK_CCSUPPORT([-Werror=int-conversion], [flg2]) | ||
50 | -CHECK_CCSUPPORT([-Werror=incompatible-pointer-types], [flg3]) | ||
51 | CHECK_CCSUPPORT([-Werror=misleading-indentation], [flg4]) | ||
52 | |||
53 | -AC_SUBST([AM_CFLAGS], ["$my_am_cflags $flg1 $flg2 $flg3 $flg4"]) | ||
54 | +AC_SUBST([AM_CFLAGS], ["$my_am_cflags $flg1 $flg2 $flg4"]) | ||
55 | |||
56 | # Make sure that $ACLOCAL_FLAGS are used during a rebuild | ||
57 | AC_SUBST([ACLOCAL_AMFLAGS], ["-I $ac_macro_dir \$(ACLOCAL_FLAGS)"]) | ||