[oe-commits] Dmitry Eremin-Solenikov : libnl: fix compilation with new toolchain

git version control git at git.openembedded.org
Sun Aug 16 20:01:32 UTC 2009


Module: openembedded.git
Branch: shr/import
Commit: 7ec004438bdee3c3703a458b450371d3e078dfae
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7ec004438bdee3c3703a458b450371d3e078dfae

Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Thu Jun 18 15:32:00 2009 +0400

libnl: fix compilation with new toolchain

netlink-local.h demands limits.h to define several constants. Include it.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>

---

 recipes/libnl/files/netlink-local-fix.patch |   12 ++++++++++++
 recipes/libnl/libnl_1.1.bb                  |    1 +
 2 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/recipes/libnl/files/netlink-local-fix.patch b/recipes/libnl/files/netlink-local-fix.patch
new file mode 100644
index 0000000..51c6736
--- /dev/null
+++ b/recipes/libnl/files/netlink-local-fix.patch
@@ -0,0 +1,12 @@
+Index: libnl-1.1/include/netlink-local.h
+===================================================================
+--- libnl-1.1.orig/include/netlink-local.h	2009-06-18 15:28:32.614209645 +0400
++++ libnl-1.1/include/netlink-local.h	2009-06-18 15:28:44.094190518 +0400
+@@ -26,6 +26,7 @@
+ #include <sys/socket.h>
+ #include <inttypes.h>
+ #include <assert.h>
++#include <limits.h>
+ 
+ #include <arpa/inet.h>
+ #include <netdb.h>
diff --git a/recipes/libnl/libnl_1.1.bb b/recipes/libnl/libnl_1.1.bb
index 5f2d6f1..3895ec5 100644
--- a/recipes/libnl/libnl_1.1.bb
+++ b/recipes/libnl/libnl_1.1.bb
@@ -13,6 +13,7 @@ SRC_URI = "\
   file://local-includes.patch;patch=1 \
   file://fix-includes.patch;patch=1 \
   file://respect-ldflags.patch;patch=1 \
+  file://netlink-local-fix.patch;patch=1 \
 "
 
 do_stage () {





More information about the Openembedded-commits mailing list