Files
pkgsrc-ng/net/samba/patches/patch-ae
2014-11-05 12:41:07 +01:00

16 lines
460 B
Plaintext

$NetBSD: patch-ae,v 1.11 2013/08/12 02:45:55 taca Exp $
--- auth/pampass.c.orig 2013-07-29 18:55:18.000000000 +0000
+++ auth/pampass.c
@@ -48,6 +48,10 @@
#include <pam/pam_appl.h>
#endif
+#if defined(PAM_AUTHTOK_RECOVERY_ERR) && !defined(PAM_AUTHTOK_RECOVER_ERR)
+#define PAM_AUTHTOK_RECOVER_ERR PAM_AUTHTOK_RECOVERY_ERR
+#endif
+
/*
* Structure used to communicate between the conversation function
* and the server_login/change password functions.