Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 13/14] libpam: Fix build with eglibc 2.16
Date: Tue, 17 Jul 2012 10:40:18 -0700	[thread overview]
Message-ID: <5005A382.3090003@linux.intel.com> (raw)
In-Reply-To: <0413ecda2ffd71f9deaf296591b8744d29a30099.1341498745.git.raj.khem@gmail.com>

On 07/05/2012 07:35 AM, Khem Raj wrote:
> 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>
> ---
>   .../pam/libpam/include-sys-resource.patch          |   12 ++++++++++++
>   meta/recipes-extended/pam/libpam_1.1.5.bb          |    6 ++++--
>   2 files changed, 16 insertions(+), 2 deletions(-)
>   create mode 100644 meta/recipes-extended/pam/libpam/include-sys-resource.patch
>
> 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 0000000..0108a88
> --- /dev/null
> +++ b/meta/recipes-extended/pam/libpam/include-sys-resource.patch
> @@ -0,0 +1,12 @@

Missed that this needs an Upstream-Status and Signed-off-by along with 
any more describive info needed

Please fix

Thanks
	Sau!

> +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 08ce1d1..275e5d8 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"
>
>




  reply	other threads:[~2012-07-17 17:51 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-05 14:35 [PATCH 00/14] eglibc 2.16 Khem Raj
2012-07-05 14:35 ` [PATCH 01/14] mirrors: Add debian archive snapshot mirrors to search list Khem Raj
2012-07-05 14:35 ` [PATCH 02/14] gdb: Replace struct siginfo with proper siginfo_t Khem Raj
2012-07-05 14:35 ` [PATCH 03/14] busybox: Include sys/resource.h for rusage definition Khem Raj
2012-07-05 14:35 ` [PATCH 04/14] coreutils: Fix build with eglibc 2.16 Khem Raj
2012-07-05 14:35 ` [PATCH 05/14] diffutils: " Khem Raj
2012-07-05 14:35 ` [PATCH 06/14] udev: " Khem Raj
2012-07-05 14:35 ` [PATCH 07/14] gettext, m4, augeas, gnutls: Account for removal of gets in " Khem Raj
2012-07-05 14:35 ` [PATCH 08/14] bison: Fix for gets being removed from " Khem Raj
2012-07-05 14:35 ` [PATCH 09/14] grub, guile, cpio, tar, wget: Fix gnulib for absense of gets in eglibc Khem Raj
2012-07-05 14:35 ` [PATCH 10/14] boost: Upgrade recipe to 1.50.0 Khem Raj
2012-07-05 14:35 ` [PATCH 11/14] puzzles: Fix checksums Khem Raj
2012-07-05 14:35 ` [PATCH 12/14] valgrind: Fix build with eglibc 2.16 Khem Raj
2012-07-05 14:35 ` [PATCH 13/14] libpam: " Khem Raj
2012-07-17 17:40   ` Saul Wold [this message]
2012-07-05 14:35 ` [PATCH 14/14] eglibc: Add recipes for 2.16 release Khem Raj
2012-07-06  2:27   ` Saul Wold
2012-07-06  3:49     ` Khem Raj
2012-07-06  5:18       ` Khem Raj
2012-07-05 20:23 ` [PATCH 00/14] eglibc 2.16 Martin Jansa
2012-07-05 20:39   ` Khem Raj
2012-07-05 20:57     ` Martin Jansa
2012-07-05 21:34       ` Khem Raj
2012-07-05 21:55         ` Martin Jansa
2012-07-17 14:59 ` Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5005A382.3090003@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox