All of lore.kernel.org
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [STABLE][PATCH] uclibc-initial_0.9.30(.1).bb: Fix do_stage for ubuntu karmic
Date: Mon, 02 Nov 2009 10:48:22 +0100	[thread overview]
Message-ID: <hcm9t6$b8o$1@ger.gmane.org> (raw)
In-Reply-To: <1257106657-22380-1-git-send-email-marcin@juszkiewicz.com.pl>

On 01-11-09 21:17, Marcin Juszkiewicz wrote:
> From: Holger Hans Peter Freyther<zecke@selfish.org>
>
> gcc4.4 and glibc 2.10 complain that getline already has
> a different signature. Rename the version in the unidef.c.
>
> Hrw's note: patch is also needed on recent Debian system and is not related to
> version of GCC (I have 4.3.x). As stable/2009 uses 0.9.30 by default I patched
> that version too.

Acked-by: Koen Kooi <koen@openembedded.org>


>
> ---
>   .../uclibc/uclibc-0.9.30.1/gcc-4.4-fixlet.patch    |   31 ++++++++++++++++++++
>   recipes/uclibc/uclibc-0.9.30/gcc-4.4-fixlet.patch  |   31 ++++++++++++++++++++
>   recipes/uclibc/uclibc_0.9.30.1.bb                  |    1 +
>   recipes/uclibc/uclibc_0.9.30.bb                    |    3 +-
>   4 files changed, 65 insertions(+), 1 deletions(-)
>   create mode 100644 recipes/uclibc/uclibc-0.9.30.1/gcc-4.4-fixlet.patch
>   create mode 100644 recipes/uclibc/uclibc-0.9.30/gcc-4.4-fixlet.patch
>
> diff --git a/recipes/uclibc/uclibc-0.9.30.1/gcc-4.4-fixlet.patch b/recipes/uclibc/uclibc-0.9.30.1/gcc-4.4-fixlet.patch
> new file mode 100644
> index 0000000..b9ff671
> --- /dev/null
> +++ b/recipes/uclibc/uclibc-0.9.30.1/gcc-4.4-fixlet.patch
> @@ -0,0 +1,31 @@
> +Index: uClibc-0.9.30.1/extra/scripts/unifdef.c
> +===================================================================
> +--- uClibc-0.9.30.1.orig/extra/scripts/unifdef.c	2009-08-09 11:55:23.000000000 +0200
> ++++ uClibc-0.9.30.1/extra/scripts/unifdef.c	2009-08-09 11:55:46.000000000 +0200
> +@@ -206,7 +206,7 @@
> + static void             error(const char *);
> + static int              findsym(const char *);
> + static void             flushline(bool);
> +-static Linetype         getline(void);
> ++static Linetype         _getline(void);
> + static Linetype         ifeval(const char **);
> + static void             ignoreoff(void);
> + static void             ignoreon(void);
> +@@ -512,7 +512,7 @@
> +
> + 	for (;;) {
> + 		linenum++;
> +-		lineval = getline();
> ++		lineval = _getline();
> + 		trans_table[ifstate[depth]][lineval]();
> + 		debug("process %s ->  %s depth %d",
> + 		    linetype_name[lineval],
> +@@ -526,7 +526,7 @@
> +  * help from skipcomment().
> +  */
> + static Linetype
> +-getline(void)
> ++_getline(void)
> + {
> + 	const char *cp;
> + 	int cursym;
> diff --git a/recipes/uclibc/uclibc-0.9.30/gcc-4.4-fixlet.patch b/recipes/uclibc/uclibc-0.9.30/gcc-4.4-fixlet.patch
> new file mode 100644
> index 0000000..b9ff671
> --- /dev/null
> +++ b/recipes/uclibc/uclibc-0.9.30/gcc-4.4-fixlet.patch
> @@ -0,0 +1,31 @@
> +Index: uClibc-0.9.30.1/extra/scripts/unifdef.c
> +===================================================================
> +--- uClibc-0.9.30.1.orig/extra/scripts/unifdef.c	2009-08-09 11:55:23.000000000 +0200
> ++++ uClibc-0.9.30.1/extra/scripts/unifdef.c	2009-08-09 11:55:46.000000000 +0200
> +@@ -206,7 +206,7 @@
> + static void             error(const char *);
> + static int              findsym(const char *);
> + static void             flushline(bool);
> +-static Linetype         getline(void);
> ++static Linetype         _getline(void);
> + static Linetype         ifeval(const char **);
> + static void             ignoreoff(void);
> + static void             ignoreon(void);
> +@@ -512,7 +512,7 @@
> +
> + 	for (;;) {
> + 		linenum++;
> +-		lineval = getline();
> ++		lineval = _getline();
> + 		trans_table[ifstate[depth]][lineval]();
> + 		debug("process %s ->  %s depth %d",
> + 		    linetype_name[lineval],
> +@@ -526,7 +526,7 @@
> +  * help from skipcomment().
> +  */
> + static Linetype
> +-getline(void)
> ++_getline(void)
> + {
> + 	const char *cp;
> + 	int cursym;
> diff --git a/recipes/uclibc/uclibc_0.9.30.1.bb b/recipes/uclibc/uclibc_0.9.30.1.bb
> index d159ab3..21bfeff 100644
> --- a/recipes/uclibc/uclibc_0.9.30.1.bb
> +++ b/recipes/uclibc/uclibc_0.9.30.1.bb
> @@ -20,6 +20,7 @@ SRC_URI += "file://uClibc.machine file://uClibc.distro \
>   	    file://pthread_atfork.patch;patch=1 \
>   	    file://uclibc_ldso_use_O0.patch;patch=1 \
>   	    file://ldso_use_arm_dl_linux_resolve_in_thumb_mode.patch;patch=1 \
> +	    file://gcc-4.4-fixlet.patch;patch=1 \
>   	   "
>   #recent versions uclibc require real kernel headers
>   PACKAGE_ARCH = "${MACHINE_ARCH}"
> diff --git a/recipes/uclibc/uclibc_0.9.30.bb b/recipes/uclibc/uclibc_0.9.30.bb
> index bbe809f..7f0f2a4 100644
> --- a/recipes/uclibc/uclibc_0.9.30.bb
> +++ b/recipes/uclibc/uclibc_0.9.30.bb
> @@ -7,7 +7,7 @@
>   # on whether the base patches apply to the selected (SRCDATE) svn release.
>   #
>   UCLIBC_BASE ?= "0.9.30"
> -PR = "r6"
> +PR = "r7"
>   DEFAULT_PREFERENCE = "1"
>
>   require uclibc.inc
> @@ -20,6 +20,7 @@ SRC_URI += "file://uClibc.machine file://uClibc.distro \
>   	    file://pthread_atfork.patch;patch=1 \
>   	    file://uclibc_ldso_use_O0.patch;patch=1 \
>   	    file://ldso_use_arm_dl_linux_resolve_in_thumb_mode.patch;patch=1 \
> +	    file://gcc-4.4-fixlet.patch;patch=1 \
>   	   "
>   #recent versions uclibc require real kernel headers
>   PACKAGE_ARCH = "${MACHINE_ARCH}"





      parent reply	other threads:[~2009-11-02  9:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-01 20:17 [STABLE][PATCH] uclibc-initial_0.9.30(.1).bb: Fix do_stage for ubuntu karmic Marcin Juszkiewicz
2009-11-02  9:27 ` Marcin Juszkiewicz
2009-11-02  9:48 ` Koen Kooi [this message]

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='hcm9t6$b8o$1@ger.gmane.org' \
    --to=k.kooi@student.utwente.nl \
    --cc=openembedded-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.