pam/Linux-PAM-1.6.0-add-now-missing-nis-constant.patch

13 lines
373 B
Diff
Raw Normal View History

2024-03-15 14:37:21 +09:00
diff -ruN a/modules/pam_unix/support.c b/modules/pam_unix/support.c
--- a/modules/pam_unix/support.c 2024-01-17 19:29:36.000000000 +0900
+++ b/modules/pam_unix/support.c 2024-03-15 14:30:11.487011492 +0900
@@ -21,6 +21,8 @@
#include <sys/resource.h>
#ifdef HAVE_NIS
#include <rpcsvc/ypclnt.h>
+#else
+#define YPERR_SUCCESS 0
#endif
#include <security/_pam_macros.h>