diff options
author | NHellFire <nathan.renniewaldock@gmail.com> | 2017-05-20 06:39:48 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-06 19:53:08 +0000 |
commit | 43075882a85a07bbf982041df6b593ac13df6a08 (patch) | |
tree | 2f7961458790c42e11c565635bfffc98083861ee /testing/pwauth/20-fix-warnings.patch | |
parent | 47084181b5e67ebb55c17adb6b276bb8fcde8ce6 (diff) | |
download | aports-43075882a85a07bbf982041df6b593ac13df6a08.tar.bz2 aports-43075882a85a07bbf982041df6b593ac13df6a08.tar.xz |
testing/pwauth: new aport
https://code.google.com/p/pwauth/
Authenticator for mod_authnz_external and Apache
Diffstat (limited to 'testing/pwauth/20-fix-warnings.patch')
-rw-r--r-- | testing/pwauth/20-fix-warnings.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/pwauth/20-fix-warnings.patch b/testing/pwauth/20-fix-warnings.patch new file mode 100644 index 0000000000..f57fb75712 --- /dev/null +++ b/testing/pwauth/20-fix-warnings.patch @@ -0,0 +1,25 @@ +--- pwauth-2.3.11.orig/auth_sun.c ++++ pwauth-2.3.11/auth_sun.c +@@ -32,6 +32,9 @@ + */ + + #include "pwauth.h" ++#if defined(CHECK_LOGIN_EXPIRATION) || defined(CHECK_PASSWORD_EXPIRATION) ++#include <time.h> ++#endif + + #ifdef SHADOW_SUN + #ifdef NEED_UID +--- pwauth-2.3.11.orig/main.c ++++ pwauth-2.3.11/main.c +@@ -43,8 +43,9 @@ + int server_uids[]= {SERVER_UIDS, 0}; + #endif + ++int check_auth(char *login, char *passwd); + +-main(int argc, char **argv) ++void main(int argc, char **argv) + { + #ifdef ENV_METHOD + char *login, *passwd; |