[oe-commits] Khem Raj : sbrsh: Fix complilation with gcc 4.5
git version control
git at git.openembedded.org
Wed Oct 27 01:24:20 UTC 2010
Module: openembedded.git
Branch: master
Commit: 97222a4ffc9543e4c687755614512e43d439983f
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=97222a4ffc9543e4c687755614512e43d439983f
Author: Khem Raj <raj.khem at gmail.com>
Date: Tue Oct 26 16:41:45 2010 -0700
sbrsh: Fix complilation with gcc 4.5
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
recipes/scratchbox/sbrsh-7.1/add-limits.h.patch | 13 +++++++++++++
recipes/scratchbox/sbrsh_7.1.bb | 6 ++++--
2 files changed, 17 insertions(+), 2 deletions(-)
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 0000000..ad11397
--- /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 <sys/time.h>
+ #include <sys/stat.h>
+ #include <netinet/in.h>
+-
++#include <limits.h>
+
+ #define REQUIRED_VERSION 6
+
diff --git a/recipes/scratchbox/sbrsh_7.1.bb b/recipes/scratchbox/sbrsh_7.1.bb
index 5a11ca8..cc9882e 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}
More information about the Openembedded-commits
mailing list