diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-10-03 12:54:45 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-04 16:29:05 +0100 |
| commit | fb71f34d7379569c23cc00e18d134093147613f5 (patch) | |
| tree | be7b45e5e6d11fade3890b8b29fdd9ebe46eaff7 | |
| parent | 8c5ac488f1e243617d9a09b7686329e0e89f8242 (diff) | |
| download | poky-fb71f34d7379569c23cc00e18d134093147613f5.tar.gz | |
linux-libc-headers: if_tunnel: remove include of if/ip/in6.h
commit 1fe8e0f074c [include/uapi/linux/if_tunnel.h: include linux/if.h, linux/ip.h and linux/in6.h]
breaks the builds of net-tools.
We remove the new includes until such a time that userspace can adapt to the
new kernel headers.
(From OE-Core rev: cd3720317abaff1e857cfb6b1e2a3741baf8f944)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-if_tunnel-remove-include-of-if-ip-in6.h.patch | 33 | ||||
| -rw-r--r-- | meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.8.bb | 1 |
2 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-if_tunnel-remove-include-of-if-ip-in6.h.patch b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-if_tunnel-remove-include-of-if-ip-in6.h.patch new file mode 100644 index 0000000000..f2011880dc --- /dev/null +++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-if_tunnel-remove-include-of-if-ip-in6.h.patch | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | From 017ae5929312685c4c044765445bfd4d2a4abb5c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Bruce Ashfield <bruce.ashfield@windriver.com> | ||
| 3 | Date: Mon, 3 Oct 2016 12:27:57 -0400 | ||
| 4 | Subject: [PATCH] if_tunnel: remove include of if/ip/in6.h | ||
| 5 | |||
| 6 | commit 1fe8e0f074c [include/uapi/linux/if_tunnel.h: include linux/if.h, linux/ip.h and linux/in6.h] | ||
| 7 | breaks the builds of net-tools. | ||
| 8 | |||
| 9 | We remove the new includes until such a time that userspace can adapt to the | ||
| 10 | new kernel headers. | ||
| 11 | |||
| 12 | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> | ||
| 13 | --- | ||
| 14 | include/uapi/linux/if_tunnel.h | 3 --- | ||
| 15 | 1 file changed, 3 deletions(-) | ||
| 16 | |||
| 17 | diff --git a/include/uapi/linux/if_tunnel.h b/include/uapi/linux/if_tunnel.h | ||
| 18 | index 777b6cd..1046f55 100644 | ||
| 19 | --- a/include/uapi/linux/if_tunnel.h | ||
| 20 | +++ b/include/uapi/linux/if_tunnel.h | ||
| 21 | @@ -2,9 +2,6 @@ | ||
| 22 | #define _UAPI_IF_TUNNEL_H_ | ||
| 23 | |||
| 24 | #include <linux/types.h> | ||
| 25 | -#include <linux/if.h> | ||
| 26 | -#include <linux/ip.h> | ||
| 27 | -#include <linux/in6.h> | ||
| 28 | #include <asm/byteorder.h> | ||
| 29 | |||
| 30 | |||
| 31 | -- | ||
| 32 | 2.7.4 | ||
| 33 | |||
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.8.bb b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.8.bb index 778f0b6e64..ee2d829345 100644 --- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.8.bb +++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.8.bb | |||
| @@ -10,6 +10,7 @@ SRC_URI_append_libc-musl = "\ | |||
| 10 | 10 | ||
| 11 | SRC_URI_append = "\ | 11 | SRC_URI_append = "\ |
| 12 | file://0001-ppp-fix-in-if.h-includes.patch \ | 12 | file://0001-ppp-fix-in-if.h-includes.patch \ |
| 13 | file://0001-if_tunnel-remove-include-of-if-ip-in6.h.patch \ | ||
| 13 | " | 14 | " |
| 14 | 15 | ||
| 15 | SRC_URI[md5sum] = "c1af0afbd3df35c1ccdc7a5118cd2d07" | 16 | SRC_URI[md5sum] = "c1af0afbd3df35c1ccdc7a5118cd2d07" |
