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 1LvwbY-0007HY-TZ for openembedded-devel@openembedded.org; Mon, 20 Apr 2009 18:44:25 +0200 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LvwXL-0004xu-5j for openembedded-devel@openembedded.org; Mon, 20 Apr 2009 16:40:03 +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 ; Mon, 20 Apr 2009 16:40:03 +0000 Received: from k.kooi by s55917625.adsl.wanadoo.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Apr 2009 16:40:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: openembedded-devel@openembedded.org From: Koen Kooi Date: Mon, 20 Apr 2009 18:34:06 +0200 Message-ID: References: <1240241104-21935-1-git-send-email-marcin@juszkiewicz.com.pl> <1240241104-21935-11-git-send-email-marcin@juszkiewicz.com.pl> 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/20090415 Shredder/3.0b3pre In-Reply-To: <1240241104-21935-11-git-send-email-marcin@juszkiewicz.com.pl> Sender: news Subject: Re: [STABLE][PATCH 1/1] irda-utils: add patch to use LDFLAGS (fixes QA error) 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: Mon, 20 Apr 2009 16:44:25 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Acked-by: Koen Kooi On 20-04-09 17:25, Marcin Juszkiewicz wrote: > From: Jeremy Lainé > > --- > recipes/irda-utils/irda-utils/ldflags.patch | 28 +++++++++++++++++++++++++++ > recipes/irda-utils/irda-utils_0.9.16.bb | 3 +- > 2 files changed, 30 insertions(+), 1 deletions(-) > create mode 100644 recipes/irda-utils/irda-utils/ldflags.patch > > diff --git a/recipes/irda-utils/irda-utils/ldflags.patch b/recipes/irda-utils/irda-utils/ldflags.patch > new file mode 100644 > index 0000000..bb4f5cd > --- /dev/null > +++ b/recipes/irda-utils/irda-utils/ldflags.patch > @@ -0,0 +1,28 @@ > +diff -urN irda-utils-0.9.16.orig/irattach/Makefile irda-utils-0.9.16/irattach/Makefile > +--- irda-utils-0.9.16.orig/irattach/Makefile 2004-03-31 23:55:41.000000000 +0200 > ++++ irda-utils-0.9.16/irattach/Makefile 2009-04-08 10:17:39.000000000 +0200 > +@@ -53,10 +53,10 @@ > + all: $(TARGETS) > + > + irattach: irattach.o util.o > +- $(CC) $(CFLAGS) irattach.o util.o -o $@ > ++ $(CC) $(CFLAGS) $(LDFLAGS) irattach.o util.o -o $@ > + > + dongle_attach: dongle_attach.o > +- $(CC) $(CFLAGS) dongle_attach.o -o $@ > ++ $(CC) $(CFLAGS) $(LDFLAGS) dongle_attach.o -o $@ > + > + .c.o: > + $(CC) $(CFLAGS) $(INCLUDES) -c $< > +diff -urN irda-utils-0.9.16.orig/irdaping/Makefile irda-utils-0.9.16/irdaping/Makefile > +--- irda-utils-0.9.16.orig/irdaping/Makefile 2004-03-31 23:55:47.000000000 +0200 > ++++ irda-utils-0.9.16/irdaping/Makefile 2009-04-08 10:17:57.000000000 +0200 > +@@ -52,7 +52,7 @@ > + all:: irdaping > + > + irdaping: $(OBJS) > +- $(CC) $(CFLAGS) $(OBJS) -o $@ > ++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ > + > + .c.o: > + $(CC) $(CFLAGS) $(INCLUDES) -c $< > diff --git a/recipes/irda-utils/irda-utils_0.9.16.bb b/recipes/irda-utils/irda-utils_0.9.16.bb > index 19bcdf3..1d9d184 100644 > --- a/recipes/irda-utils/irda-utils_0.9.16.bb > +++ b/recipes/irda-utils/irda-utils_0.9.16.bb > @@ -3,11 +3,12 @@ IrDA allows communication over Infrared with other devices \ > such as phones and laptops." > SECTION = "base" > LICENSE = "GPL" > -PR = "r8" > +PR = "r9" > > SRC_URI = "${SOURCEFORGE_MIRROR}/irda/irda-utils-${PV}.tar.gz \ > file://configure.patch;patch=1 \ > file://m4.patch;patch=1 \ > + file://ldflags.patch;patch=1 \ > file://init" > > export SYS_INCLUDES="-I${STAGING_INCDIR}"