summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-02-27 17:31:08 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-01 12:54:45 +0000
commit5c4979b93855a57334fac61455b7563e4a43f8ab (patch)
tree74baa3557c30a97b8798864aa3422da03529aba5 /meta/recipes-connectivity
parent6e569c1aa66b2496b18d33803a18b99508152064 (diff)
downloadopenembedded-core-5c4979b93855a57334fac61455b7563e4a43f8ab.tar.gz
openembedded-core-5c4979b93855a57334fac61455b7563e4a43f8ab.tar.bz2
openembedded-core-5c4979b93855a57334fac61455b7563e4a43f8ab.zip
connman: add header to define in6_addr
Needed because the 3.8 if_bridge.h uses in6_addr before it's defined Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch20
-rw-r--r--meta/recipes-connectivity/connman/connman_1.10.bb3
2 files changed, 22 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch b/meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch
new file mode 100644
index 0000000000..8ee0b6f543
--- /dev/null
+++ b/meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch
@@ -0,0 +1,20 @@
+
+The 3.8 Kernel headers for if_bridge.h uses the in6_addr struct
+which is defined by netinet/in.h which is not included prior.
+
+Upstream-Status: Pending
+
+Signed-off-by: Saul Wold <sgw@linux.intel.com>
+
+Index: git/src/tethering.c
+===================================================================
+--- git.orig/src/tethering.c
++++ git/src/tethering.c
+@@ -35,6 +35,7 @@
+ #include <string.h>
+ #include <fcntl.h>
+ #include <linux/if_tun.h>
++#include <netinet/in.h>
+ #include <linux/if_bridge.h>
+
+ #include "connman.h"
diff --git a/meta/recipes-connectivity/connman/connman_1.10.bb b/meta/recipes-connectivity/connman/connman_1.10.bb
index 10d5255979..7dca1b40bf 100644
--- a/meta/recipes-connectivity/connman/connman_1.10.bb
+++ b/meta/recipes-connectivity/connman/connman_1.10.bb
@@ -7,7 +7,8 @@ SRC_URI = "git://git.kernel.org/pub/scm/network/connman/connman.git \
file://add_xuser_dbus_permission.patch \
file://connman \
file://0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch \
- file://inet-fix-ip-cleanup-functions.patch"
+ file://inet-fix-ip-cleanup-functions.patch \
+ file://add-in.h-for-ipv6.patch"
S = "${WORKDIR}/git"
PR = "${INC_PR}.0"