diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch | 32 | ||||
-rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2_4.10.0.bb | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch b/meta/recipes-connectivity/iproute2/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch new file mode 100644 index 0000000000..eb0c0abbab --- /dev/null +++ b/meta/recipes-connectivity/iproute2/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 3c885d87befc706bb923933b9819de6fe2de897e Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 20 May 2017 14:03:19 -0700 | ||
4 | Subject: [PATCH] include stdint.h explicitly for UINT16_MAX) | ||
5 | |||
6 | Fixes | ||
7 | | tc_core.c:190:29: error: 'UINT16_MAX' undeclared (first use in this function); did you mean '__INT16_MAX__'? | ||
8 | | if ((sz >> s->size_log) > UINT16_MAX) { | ||
9 | | ^~~~~~~~~~ | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | Upstream-Status: Pending | ||
14 | |||
15 | tc/tc_core.c | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/tc/tc_core.c b/tc/tc_core.c | ||
19 | index 7bbe0d7..821b741 100644 | ||
20 | --- a/tc/tc_core.c | ||
21 | +++ b/tc/tc_core.c | ||
22 | @@ -12,6 +12,7 @@ | ||
23 | |||
24 | #include <stdio.h> | ||
25 | #include <stdlib.h> | ||
26 | +#include <stdint.h> | ||
27 | #include <unistd.h> | ||
28 | #include <syslog.h> | ||
29 | #include <fcntl.h> | ||
30 | -- | ||
31 | 2.13.0 | ||
32 | |||
diff --git a/meta/recipes-connectivity/iproute2/iproute2_4.10.0.bb b/meta/recipes-connectivity/iproute2/iproute2_4.10.0.bb index a050e8737e..063d467440 100644 --- a/meta/recipes-connectivity/iproute2/iproute2_4.10.0.bb +++ b/meta/recipes-connectivity/iproute2/iproute2_4.10.0.bb | |||
@@ -4,6 +4,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz \ | |||
4 | file://configure-cross.patch \ | 4 | file://configure-cross.patch \ |
5 | file://0001-iproute2-de-bash-scripts.patch \ | 5 | file://0001-iproute2-de-bash-scripts.patch \ |
6 | file://0001-libc-compat.h-add-musl-workaround.patch \ | 6 | file://0001-libc-compat.h-add-musl-workaround.patch \ |
7 | file://0001-include-stdint.h-explicitly-for-UINT16_MAX.patch \ | ||
7 | " | 8 | " |
8 | 9 | ||
9 | SRC_URI[md5sum] = "b94a2b0edefaeac124dc8f5d006931b9" | 10 | SRC_URI[md5sum] = "b94a2b0edefaeac124dc8f5d006931b9" |