From 8e45751900dcdbc0c281f5e7754a9cdf2ca0367d Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 27 Feb 2007 02:12:15 +0000 Subject: fix pam header related compile error in dropbear git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6397 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/dropbear/patches/160-pam_header.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/dropbear/patches/160-pam_header.patch diff --git a/package/dropbear/patches/160-pam_header.patch b/package/dropbear/patches/160-pam_header.patch new file mode 100644 index 000000000..1c900f716 --- /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 + #elif defined (HAVE_PAM_PAM_APPL_H) + #include + #endif + +-#ifdef ENABLE_SVR_PAM_AUTH +- + struct UserDataS { + char* user; + char* passwd; -- cgit v1.2.3