summaryrefslogtreecommitdiff
path: root/security/pam-af/patches
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-04-07 01:53:18 +0000
committerobache <obache@pkgsrc.org>2012-04-07 01:53:18 +0000
commit24cbc6ceba68fe4468e8c872982dd16ee4b20646 (patch)
tree2668c4ad3c8c8d78dd9f50e001b20abfaced80a6 /security/pam-af/patches
parent90c2238a4cae789b7f439bb61d573a9651282124 (diff)
downloadpkgsrc-24cbc6ceba68fe4468e8c872982dd16ee4b20646.tar.gz
Allow to build with non-native PAM on *BSD.
Diffstat (limited to 'security/pam-af/patches')
-rw-r--r--security/pam-af/patches/patch-ab11
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