summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/pam/libpam
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-07-04 13:12:38 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-17 10:42:45 +0100
commite59a0bac95ce025a6b826be28ccc9e42ca4b5a29 (patch)
tree80d81eeccc0d2ec313e2c00477869500ad55e051 /meta/recipes-extended/pam/libpam
parent5a59bf0778608b7c5e1073bf38d36b98d831db0d (diff)
downloadopenembedded-core-e59a0bac95ce025a6b826be28ccc9e42ca4b5a29.tar.gz
openembedded-core-e59a0bac95ce025a6b826be28ccc9e42ca4b5a29.tar.bz2
openembedded-core-e59a0bac95ce025a6b826be28ccc9e42ca4b5a29.zip
libpam: Fix build with eglibc 2.16
pam_unix_acct.c: In function '_unix_run_verify_binary': pam_unix_acct.c:97:19: error: storage size of 'rlim' isn't known pam_unix_acct.c:106:19: error: 'RLIMIT_NOFILE' undeclared (first use in this function) pam_unix_acct.c:106:19: note: each undeclared identifier is reported only once for each function it appears in Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/pam/libpam')
-rw-r--r--meta/recipes-extended/pam/libpam/include-sys-resource.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-extended/pam/libpam/include-sys-resource.patch b/meta/recipes-extended/pam/libpam/include-sys-resource.patch
new file mode 100644
index 0000000000..0108a889a9
--- /dev/null
+++ b/meta/recipes-extended/pam/libpam/include-sys-resource.patch
@@ -0,0 +1,12 @@
+Index: Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c
+===================================================================
+--- Linux-PAM-1.1.5.orig/modules/pam_unix/pam_unix_acct.c 2012-07-04 12:37:44.881136025 -0700
++++ Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c 2012-07-04 12:38:00.601136785 -0700
+@@ -47,6 +47,7 @@
+ #include <time.h> /* for time() */
+ #include <errno.h>
+ #include <sys/wait.h>
++#include <sys/resource.h>
+
+ #include <security/_pam_macros.h>
+