From c0d0b1a344f83465410dcd306bd3d45ecd461530 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Tue, 18 Oct 2022 11:35:58 +0200 Subject: pam_skey: Don't link against libnsl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/877433 Signed-off-by: Ulrich Müller --- patchsets/pam_skey/1.1.5/07_all_no_libnsl.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patchsets/pam_skey/1.1.5/07_all_no_libnsl.patch diff --git a/patchsets/pam_skey/1.1.5/07_all_no_libnsl.patch b/patchsets/pam_skey/1.1.5/07_all_no_libnsl.patch new file mode 100644 index 0000000..4dd7797 --- /dev/null +++ b/patchsets/pam_skey/1.1.5/07_all_no_libnsl.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/877433 + +--- pam_skey-1.1.5/autoconf/configure.in ++++ pam_skey-1.1.5/autoconf/configure.in +@@ -54,7 +54,6 @@ + + dnl Check for skey library + AC_CHECK_LIB(socket, socket, LIBS="${LIBS} -lsocket") +-AC_CHECK_LIB(nsl, gethostbyname, LIBS="${LIBS} -lnsl") + AC_CHECK_LIB(skey, skeyverify, SKEYLIB="-lskey", AC_MSG_ERROR(skey library not found or unknown interface)) + + dnl Check against -G linker flag -- cgit v1.2.3-65-gdbad