diff options
-rw-r--r-- | meta/recipes-extended/pam/libpam/include-sys-resource.patch | 12 | ||||
-rw-r--r-- | meta/recipes-extended/pam/libpam_1.1.5.bb | 6 |
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 @@ +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> + 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" LICENSE = "GPLv2+ | BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=ca0395de9a86191a078b8b79302e3083" -PR = "r3" +PR = "r4" SRC_URI = "https://fedorahosted.org/releases/l/i/linux-pam/Linux-PAM-${PV}.tar.bz2 \ file://99_pam \ file://pam.d/* \ - file://libpam-xtests.patch" + file://libpam-xtests.patch \ + file://include-sys-resource.patch \ + " SRC_URI_append_libc-uclibc = " file://pam-no-innetgr.patch" |