summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba/patches/patch-ah')
-rw-r--r--net/samba/patches/patch-ah16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/samba/patches/patch-ah b/net/samba/patches/patch-ah
new file mode 100644
index 00000000000..6698a580c61
--- /dev/null
+++ b/net/samba/patches/patch-ah
@@ -0,0 +1,16 @@
+$NetBSD: patch-ah,v 1.3 2005/11/14 08:05:27 jlam Exp $
+
+--- lib/pam_errors.c.orig 2005-10-12 13:03:29.000000000 -0400
++++ lib/pam_errors.c
+@@ -23,9 +23,9 @@
+ #ifdef WITH_PAM
+ #include <security/pam_appl.h>
+
+-#if defined(PAM_AUTHTOK_RECOVERY_ERR) && !defined(PAM_AUTHTOK_RECOVER_ERR)
++#ifndef PAM_AUTHTOK_RECOVER_ERR
+ #define PAM_AUTHTOK_RECOVER_ERR PAM_AUTHTOK_RECOVERY_ERR
+-#endif
++#endif
+
+ /* PAM -> NT_STATUS map */
+ static const struct {