summaryrefslogtreecommitdiffstats
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 13:03:27 +0000
commitdce1da3cf74a10822a33122dae6efb6906c56262 (patch)
tree79f86d1e12071d52ab1ace8e01a5dd03a427fbb6 /meta/recipes-connectivity
parent22a5264311d4a525f8c721f9a83cef753a75a95d (diff)
downloadpoky-dce1da3cf74a10822a33122dae6efb6906c56262.tar.gz
connman: add header to define in6_addr
Needed because the 3.8 if_bridge.h uses in6_addr before it's defined (From OE-Core rev: 5c4979b93855a57334fac61455b7563e4a43f8ab) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 @@
1
2The 3.8 Kernel headers for if_bridge.h uses the in6_addr struct
3which is defined by netinet/in.h which is not included prior.
4
5Upstream-Status: Pending
6
7Signed-off-by: Saul Wold <sgw@linux.intel.com>
8
9Index: git/src/tethering.c
10===================================================================
11--- git.orig/src/tethering.c
12+++ git/src/tethering.c
13@@ -35,6 +35,7 @@
14 #include <string.h>
15 #include <fcntl.h>
16 #include <linux/if_tun.h>
17+#include <netinet/in.h>
18 #include <linux/if_bridge.h>
19
20 #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 \
7 file://add_xuser_dbus_permission.patch \ 7 file://add_xuser_dbus_permission.patch \
8 file://connman \ 8 file://connman \
9 file://0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch \ 9 file://0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch \
10 file://inet-fix-ip-cleanup-functions.patch" 10 file://inet-fix-ip-cleanup-functions.patch \
11 file://add-in.h-for-ipv6.patch"
11S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
12PR = "${INC_PR}.0" 13PR = "${INC_PR}.0"
13 14