diff options
Diffstat (limited to 'security/pam-af/patches')
-rw-r--r-- | security/pam-af/patches/patch-ab | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/security/pam-af/patches/patch-ab b/security/pam-af/patches/patch-ab index 4c4f733b9be..6e0e3e214dd 100644 --- a/security/pam-af/patches/patch-ab +++ b/security/pam-af/patches/patch-ab @@ -1,6 +1,7 @@ -$NetBSD: patch-ab,v 1.3 2011/10/17 08:47:51 obache Exp $ +$NetBSD: patch-ab,v 1.4 2012/04/07 01:53:18 obache Exp $ * LOG_AUTHPRIV is not in Solaris, use LOG_AUTH instead. +* Allow to build with non-native PAM on *BSD. --- pam_af.c.orig 2011-08-24 07:53:32.000000000 +0000 +++ pam_af.c @@ -14,3 +15,11 @@ $NetBSD: patch-ab,v 1.3 2011/10/17 08:47:51 obache Exp $ #include <assert.h> #include <ndbm.h> +@@ -444,6 +447,6 @@ pam_sm_setcred(pamh, flags, argc, argv) + PAM_RETURN(PAM_SUCCESS); + } + +-#ifdef _USE_MODULE_ENTRY_ ++#ifdef PAM_MODULE_ENTRY + PAM_MODULE_ENTRY("pam_af"); + #endif |