Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 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 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 6 | Fixed: |
| 7 | configure: error: res_querydomain needed |
| 8 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 9 | Upstream-Status: Pending [https://github.com/alpinelinux/aports/blob/master/main/nfs-utils/musl-configure_ac.patch] |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 10 | |
| 11 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 12 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 13 | --- |
Brad Bishop | 79641f2 | 2019-09-10 07:20:22 -0400 | [diff] [blame^] | 14 | configure.ac | 9 ++++----- |
| 15 | 1 file changed, 4 insertions(+), 5 deletions(-) |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 16 | |
| 17 | diff --git a/configure.ac b/configure.ac |
Brad Bishop | 79641f2 | 2019-09-10 07:20:22 -0400 | [diff] [blame^] | 18 | index 50002b4..dcadb23 100644 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 19 | --- a/configure.ac |
| 20 | +++ b/configure.ac |
Brad Bishop | 79641f2 | 2019-09-10 07:20:22 -0400 | [diff] [blame^] | 21 | @@ -582,10 +582,10 @@ my_am_cflags="\ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 22 | -Wall \ |
| 23 | -Wextra \ |
Brad Bishop | 79641f2 | 2019-09-10 07:20:22 -0400 | [diff] [blame^] | 24 | $rpcgen_cflags \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 25 | - -Werror=missing-prototypes \ |
| 26 | - -Werror=missing-declarations \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 27 | + -Wmissing-prototypes \ |
| 28 | + -Wmissing-declarations \ |
| 29 | -Werror=format=2 \ |
| 30 | - -Werror=undef \ |
| 31 | + -Wundef \ |
| 32 | -Werror=missing-include-dirs \ |
| 33 | -Werror=strict-aliasing=2 \ |
| 34 | -Werror=init-self \ |
Brad Bishop | 79641f2 | 2019-09-10 07:20:22 -0400 | [diff] [blame^] | 35 | @@ -614,10 +614,9 @@ AC_DEFUN([CHECK_CCSUPPORT], [ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 36 | |
| 37 | CHECK_CCSUPPORT([-Werror=format-overflow=2], [flg1]) |
| 38 | CHECK_CCSUPPORT([-Werror=int-conversion], [flg2]) |
| 39 | -CHECK_CCSUPPORT([-Werror=incompatible-pointer-types], [flg3]) |
| 40 | CHECK_CCSUPPORT([-Werror=misleading-indentation], [flg4]) |
| 41 | |
| 42 | -AC_SUBST([AM_CFLAGS], ["$my_am_cflags $flg1 $flg2 $flg3 $flg4"]) |
| 43 | +AC_SUBST([AM_CFLAGS], ["$my_am_cflags $flg1 $flg2 $flg4"]) |
| 44 | |
| 45 | # Make sure that $ACLOCAL_FLAGS are used during a rebuild |
| 46 | AC_SUBST([ACLOCAL_AMFLAGS], ["-I $ac_macro_dir \$(ACLOCAL_FLAGS)"]) |