aboutsummaryrefslogtreecommitdiffstats
path: root/package/dropbear
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-27 02:12:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-27 02:12:15 +0000
commita375c804490c7580f6116ed708a96942290e8075 (patch)
tree9065deabc05a57e3957fced6ef299663d75d453a /package/dropbear
parent458fc9e1444c044f77c00a28e62c940b58f9edd1 (diff)
downloadupstream-a375c804490c7580f6116ed708a96942290e8075.tar.gz
upstream-a375c804490c7580f6116ed708a96942290e8075.tar.bz2
upstream-a375c804490c7580f6116ed708a96942290e8075.zip
fix pam header related compile error in dropbear
SVN-Revision: 6397
Diffstat (limited to 'package/dropbear')
-rw-r--r--package/dropbear/patches/160-pam_header.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/dropbear/patches/160-pam_header.patch b/package/dropbear/patches/160-pam_header.patch
new file mode 100644
index 0000000000..1c900f7169
--- /dev/null
+++ b/package/dropbear/patches/160-pam_header.patch
@@ -0,0 +1,19 @@
+diff -ur dropbear.old/svr-authpam.c dropbear.dev/svr-authpam.c
+--- dropbear.old/svr-authpam.c 2006-03-12 05:52:52.000000000 +0100
++++ dropbear.dev/svr-authpam.c 2007-02-27 02:55:41.382234344 +0100
+@@ -31,14 +31,13 @@
+ #include "dbutil.h"
+ #include "auth.h"
+
++#ifdef ENABLE_SVR_PAM_AUTH
+ #if defined(HAVE_SECURITY_PAM_APPL_H)
+ #include <security/pam_appl.h>
+ #elif defined (HAVE_PAM_PAM_APPL_H)
+ #include <pam/pam_appl.h>
+ #endif
+
+-#ifdef ENABLE_SVR_PAM_AUTH
+-
+ struct UserDataS {
+ char* user;
+ char* passwd;