From: Khem Raj Date: Tue, 26 Oct 2010 23:41:45 +0000 (-0700) Subject: sbrsh: Fix complilation with gcc 4.5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97222a4ffc9543e4c687755614512e43d439983f;p=openembedded.git sbrsh: Fix complilation with gcc 4.5 Signed-off-by: Khem Raj --- diff --git a/recipes/scratchbox/sbrsh-7.1/add-limits.h.patch b/recipes/scratchbox/sbrsh-7.1/add-limits.h.patch new file mode 100644 index 0000000000..ad113977e1 --- /dev/null +++ b/recipes/scratchbox/sbrsh-7.1/add-limits.h.patch @@ -0,0 +1,13 @@ +Index: sbrsh-7.1/client.c +=================================================================== +--- sbrsh-7.1.orig/client.c ++++ sbrsh-7.1/client.c +@@ -31,7 +31,7 @@ + #include + #include + #include +- ++#include + + #define REQUIRED_VERSION 6 + diff --git a/recipes/scratchbox/sbrsh_7.1.bb b/recipes/scratchbox/sbrsh_7.1.bb index 5a11ca86e9..cc9882e2d2 100644 --- a/recipes/scratchbox/sbrsh_7.1.bb +++ b/recipes/scratchbox/sbrsh_7.1.bb @@ -2,10 +2,12 @@ DESCRIPTION = "Daemon to allow scratchbox to use your device as a CPU tranparenc HOMEPAGE = "http://scratchbox.org" LICENSE = "GPLv2" DEPENDS = "fakeroot" -PR = "r2" +PR = "r3" RRECOMMENDS_${PN} = "kernel-module-nfs" -SRC_URI = "http://scratchbox.org/download/files/sbox-releases/1.0/src/${P}.tar.gz" +SRC_URI = "http://scratchbox.org/download/files/sbox-releases/1.0/src/${P}.tar.gz \ + file://add-limits.h.patch \ + " do_install() { install -d ${D}${sbindir}