summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/pam
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/pam')
-rw-r--r--meta/recipes-extended/pam/libpam/include-sys-resource.patch12
-rw-r--r--meta/recipes-extended/pam/libpam_1.1.5.bb6
2 files changed, 16 insertions, 2 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 @@
1Index: Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c
2===================================================================
3--- Linux-PAM-1.1.5.orig/modules/pam_unix/pam_unix_acct.c 2012-07-04 12:37:44.881136025 -0700
4+++ Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c 2012-07-04 12:38:00.601136785 -0700
5@@ -47,6 +47,7 @@
6 #include <time.h> /* for time() */
7 #include <errno.h>
8 #include <sys/wait.h>
9+#include <sys/resource.h>
10
11 #include <security/_pam_macros.h>
12
diff --git a/meta/recipes-extended/pam/libpam_1.1.5.bb b/meta/recipes-extended/pam/libpam_1.1.5.bb
index 08ce1d13b3..275e5d8424 100644
--- a/meta/recipes-extended/pam/libpam_1.1.5.bb
+++ b/meta/recipes-extended/pam/libpam_1.1.5.bb
@@ -9,12 +9,14 @@ SECTION = "base"
9LICENSE = "GPLv2+ | BSD" 9LICENSE = "GPLv2+ | BSD"
10LIC_FILES_CHKSUM = "file://COPYING;md5=ca0395de9a86191a078b8b79302e3083" 10LIC_FILES_CHKSUM = "file://COPYING;md5=ca0395de9a86191a078b8b79302e3083"
11 11
12PR = "r3" 12PR = "r4"
13 13
14SRC_URI = "https://fedorahosted.org/releases/l/i/linux-pam/Linux-PAM-${PV}.tar.bz2 \ 14SRC_URI = "https://fedorahosted.org/releases/l/i/linux-pam/Linux-PAM-${PV}.tar.bz2 \
15 file://99_pam \ 15 file://99_pam \
16 file://pam.d/* \ 16 file://pam.d/* \
17 file://libpam-xtests.patch" 17 file://libpam-xtests.patch \
18 file://include-sys-resource.patch \
19 "
18 20
19SRC_URI_append_libc-uclibc = " file://pam-no-innetgr.patch" 21SRC_URI_append_libc-uclibc = " file://pam-no-innetgr.patch"
20 22