diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-04-24 20:41:25 -0700 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2017-04-25 16:10:55 -0400 |
commit | 50c15c53d9499834617b7bf1acf8d5070892f186 (patch) | |
tree | 2fbabc365b5ca43effde2a5729fea5555c3ade15 /meta-networking/recipes-daemons/autofs/autofs/pkgconfig-libnsl.patch | |
parent | 4e9984d270f6a8cede089ec7d6b8fe0a2a71dc3d (diff) | |
download | meta-openembedded-contrib-50c15c53d9499834617b7bf1acf8d5070892f186.tar.gz |
autofs: Upgrade to 5.1.2 release
Add patches to make it work when SECURITY_FLAGS are enabled
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-daemons/autofs/autofs/pkgconfig-libnsl.patch')
-rw-r--r-- | meta-networking/recipes-daemons/autofs/autofs/pkgconfig-libnsl.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/autofs/autofs/pkgconfig-libnsl.patch b/meta-networking/recipes-daemons/autofs/autofs/pkgconfig-libnsl.patch new file mode 100644 index 0000000000..bf2c964a0e --- /dev/null +++ b/meta-networking/recipes-daemons/autofs/autofs/pkgconfig-libnsl.patch @@ -0,0 +1,19 @@ +Use pkg-config first to look for external libnsl which is now +split out from glibc, if it does not exist then see if its provided +by glibc itself. + +-Khem + +Index: autofs-5.1.2/configure.in +=================================================================== +--- autofs-5.1.2.orig/configure.in ++++ autofs-5.1.2/configure.in +@@ -186,7 +186,7 @@ fi + # + # glibc/libc 6 new libraries + # +-AC_CHECK_LIB(nsl, yp_match, LIBNSL="-lnsl") ++PKG_CHECK_MODULES([NSL], [libnsl], [], [AC_CHECK_LIB([nsl],[yp_match],[LIBNSL="-lnsl"],[LIBNSL=""])]) + AC_SUBST(LIBNSL) + + AC_CHECK_LIB(resolv, res_query, LIBRESOLV="-lresolv") |