diff options
| -rw-r--r-- | meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch | 20 | ||||
| -rw-r--r-- | meta/recipes-connectivity/connman/connman_1.10.bb | 3 |
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 | |||
| 2 | The 3.8 Kernel headers for if_bridge.h uses the in6_addr struct | ||
| 3 | which is defined by netinet/in.h which is not included prior. | ||
| 4 | |||
| 5 | Upstream-Status: Pending | ||
| 6 | |||
| 7 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
| 8 | |||
| 9 | Index: 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" | ||
| 11 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
| 12 | PR = "${INC_PR}.0" | 13 | PR = "${INC_PR}.0" |
| 13 | 14 | ||
