diff options
Diffstat (limited to 'meta-networking/recipes-daemons/autofs/autofs/pkgconfig-libnsl.patch')
-rw-r--r-- | meta-networking/recipes-daemons/autofs/autofs/pkgconfig-libnsl.patch | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/meta-networking/recipes-daemons/autofs/autofs/pkgconfig-libnsl.patch b/meta-networking/recipes-daemons/autofs/autofs/pkgconfig-libnsl.patch index 1c7b11997..be750ab89 100644 --- a/meta-networking/recipes-daemons/autofs/autofs/pkgconfig-libnsl.patch +++ b/meta-networking/recipes-daemons/autofs/autofs/pkgconfig-libnsl.patch | |||
@@ -1,7 +1,9 @@ | |||
1 | From e3ae56cf0bb4063c31295f45d04e3c504f4b6cc7 Mon Sep 17 00:00:00 2001 | 1 | From 602f9ca83c2bdbf511bcb178fcb4b9fc54da955f Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Changqing Li <changqing.li@windriver.com> |
3 | Date: Mon, 24 Apr 2017 20:41:25 -0700 | 3 | Date: Tue, 27 Nov 2018 15:20:46 +0800 |
4 | Subject: [PATCH] autofs: Upgrade to 5.1.2 release | 4 | Subject: [PATCH] From e3ae56cf0bb4063c31295f45d04e3c504f4b6cc7 Mon Sep 17 |
5 | 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Mon, 24 Apr 2017 | ||
6 | 20:41:25 -0700 Subject: [PATCH] autofs: Upgrade to 5.1.2 release | ||
5 | 7 | ||
6 | Use pkg-config first to look for external libnsl which is now | 8 | Use pkg-config first to look for external libnsl which is now |
7 | split out from glibc, if it does not exist then see if its provided | 9 | split out from glibc, if it does not exist then see if its provided |
@@ -9,20 +11,27 @@ by glibc itself. | |||
9 | 11 | ||
10 | -Khem | 12 | -Khem |
11 | 13 | ||
14 | Upstream-Status: Pending | ||
15 | |||
16 | update patch to version 5.1.5 | ||
17 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
12 | --- | 18 | --- |
13 | configure.in | 2 +- | 19 | configure.in | 2 +- |
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | 20 | 1 file changed, 1 insertion(+), 1 deletion(-) |
15 | 21 | ||
16 | diff --git a/configure.in b/configure.in | 22 | diff --git a/configure.in b/configure.in |
17 | index 9cf73b8..1016c71 100644 | 23 | index 76ecb40..493b9f1 100644 |
18 | --- a/configure.in | 24 | --- a/configure.in |
19 | +++ b/configure.in | 25 | +++ b/configure.in |
20 | @@ -186,7 +186,7 @@ fi | 26 | @@ -238,7 +238,7 @@ AC_SUBST(LIBCLOCK_GETTIME) |
21 | # | ||
22 | # glibc/libc 6 new libraries | ||
23 | # | ||
24 | -AC_CHECK_LIB(nsl, yp_match, LIBNSL="-lnsl") | ||
25 | +PKG_CHECK_MODULES([NSL], [libnsl], [], [AC_CHECK_LIB([nsl],[yp_match],[LIBNSL="-lnsl"],[LIBNSL=""])]) | ||
26 | AC_SUBST(LIBNSL) | ||
27 | 27 | ||
28 | AC_CHECK_LIB(resolv, res_query, LIBRESOLV="-lresolv") | 28 | PKG_CHECK_MODULES([NSL],[libnsl],, |
29 | [ | ||
30 | -AC_CHECK_LIB(nsl, yp_match, NSL_LIBS="-lnsl") | ||
31 | +PKG_CHECK_MODULES([NSL], [libnsl], [], [AC_CHECK_LIB([nsl],[yp_match],[LIBNSL="-lnsl"],[LIBNSL=""])]) | ||
32 | AC_SUBST(NSL_LIBS) | ||
33 | NSL_CFLAGS="" | ||
34 | ]) | ||
35 | -- | ||
36 | 2.7.4 | ||
37 | |||