summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--patchsets/pam_skey/1.1.5/07_all_no_libnsl.patch12
1 files changed, 12 insertions, 0 deletions
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