From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [80.91.229.2] (helo=ciao.gmane.org) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1M21np-00033q-TD for openembedded-devel@openembedded.org; Thu, 07 May 2009 13:30:13 +0200 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M21ht-0004fm-Nx for openembedded-devel@openembedded.org; Thu, 07 May 2009 11:24:06 +0000 Received: from s55917625.adsl.wanadoo.nl ([85.145.118.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 May 2009 11:24:05 +0000 Received: from k.kooi by s55917625.adsl.wanadoo.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 May 2009 11:24:05 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: openembedded-devel@openembedded.org From: Koen Kooi Date: Thu, 07 May 2009 13:23:54 +0200 Message-ID: References: <1240929391-17101-1-git-send-email-k.kooi@student.utwente.nl> Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: s55917625.adsl.wanadoo.nl User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b4pre) Gecko/20090421 Shredder/3.0b3pre In-Reply-To: <1240929391-17101-1-git-send-email-k.kooi@student.utwente.nl> Sender: news Subject: Re: [STABLE][PATCH] linux-libc-headers_2.6.23.bb : more modern glibc expose getline from X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2009 11:30:14 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ping On 28-04-09 16:36, Koen Kooi wrote: > From: Graeme Gregory > > > Signed-off-by: Koen Kooi > --- > recipes/linux-libc-headers/files/unifdef.patch | 31 ++++++++++++++++++++ > .../linux-libc-headers_2.6.23.bb | 5 ++- > 2 files changed, 34 insertions(+), 2 deletions(-) > create mode 100644 recipes/linux-libc-headers/files/unifdef.patch > > diff --git a/recipes/linux-libc-headers/files/unifdef.patch b/recipes/linux-libc-headers/files/unifdef.patch > new file mode 100644 > index 0000000..800c3c8 > --- /dev/null > +++ b/recipes/linux-libc-headers/files/unifdef.patch > @@ -0,0 +1,31 @@ > +Index: linux-2.6.23/scripts/unifdef.c > +=================================================================== > +--- linux-2.6.23.orig/scripts/unifdef.c > ++++ linux-2.6.23/scripts/unifdef.c > +@@ -206,7 +206,7 @@ static void done(void); > + static void error(const char *); > + static int findsym(const char *); > + static void flushline(bool); > +-static Linetype getline(void); > ++static Linetype parseline(void); > + static Linetype ifeval(const char **); > + static void ignoreoff(void); > + static void ignoreon(void); > +@@ -512,7 +512,7 @@ process(void) > + > + for (;;) { > + linenum++; > +- lineval = getline(); > ++ lineval = parseline(); > + trans_table[ifstate[depth]][lineval](); > + debug("process %s -> %s depth %d", > + linetype_name[lineval], > +@@ -526,7 +526,7 @@ process(void) > + * help from skipcomment(). > + */ > + static Linetype > +-getline(void) > ++parseline(void) > + { > + const char *cp; > + int cursym; > diff --git a/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb b/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb > index 13579f9..95152f1 100644 > --- a/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb > +++ b/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb > @@ -2,10 +2,11 @@ require linux-libc-headers.inc > > INHIBIT_DEFAULT_DEPS = "1" > DEPENDS += "unifdef-native" > -PR = "r3" > +PR = "r4" > > SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \ > - file://procinfo.h" > + file://procinfo.h \ > + file://unifdef.patch;patch=1" > > S = "${WORKDIR}/linux-${PV}" >