diff options
| author | Maxin B. John <maxin.john@intel.com> | 2016-02-09 19:48:51 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-11 12:27:48 +0000 |
| commit | 0e62f01559fc9ceeeeb46cc143d34785f17c225c (patch) | |
| tree | e0a94c866fd48b599e6ff763ebf32f055208e5d7 | |
| parent | 216e618a7f48db0fb4827c4ae68445b2137f2b51 (diff) | |
| download | poky-0e62f01559fc9ceeeeb46cc143d34785f17c225c.tar.gz | |
iproute2: update to version 4.4.0
4.3.0 -> 4.4.0
Added iproute2-fix-building-with-musl.patch to fix build with
musl.
(From OE-Core rev: c8a7fdb2ac37b42a97f666cae6b3f5061a01ad45)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2/iproute2-fix-building-with-musl.patch | 24 | ||||
| -rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2_4.4.0.bb (renamed from meta/recipes-connectivity/iproute2/iproute2_4.3.0.bb) | 5 |
2 files changed, 27 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2/iproute2-fix-building-with-musl.patch b/meta/recipes-connectivity/iproute2/iproute2/iproute2-fix-building-with-musl.patch new file mode 100644 index 0000000000..c83a243b71 --- /dev/null +++ b/meta/recipes-connectivity/iproute2/iproute2/iproute2-fix-building-with-musl.patch | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | iproute2: fix building with musl | ||
| 2 | |||
| 3 | We need limits.h for PATH_MAX, fixes: | ||
| 4 | |||
| 5 | rt_names.c:364:13: error: ‘PATH_MAX’ undeclared (first use in this | ||
| 6 | function) | ||
| 7 | |||
| 8 | Upstream-Status: Backport | ||
| 9 | |||
| 10 | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> | ||
| 11 | Signed-off-by: Maxin B. John <maxin.john@intel.com> | ||
| 12 | --- | ||
| 13 | diff --git a/lib/rt_names.c b/lib/rt_names.c | ||
| 14 | index f6d17c0..b665d3e 100644 | ||
| 15 | --- a/lib/rt_names.c | ||
| 16 | +++ b/lib/rt_names.c | ||
| 17 | @@ -18,6 +18,7 @@ | ||
| 18 | #include <sys/time.h> | ||
| 19 | #include <sys/socket.h> | ||
| 20 | #include <dirent.h> | ||
| 21 | +#include <limits.h> | ||
| 22 | |||
| 23 | #include <asm/types.h> | ||
| 24 | #include <linux/rtnetlink.h> | ||
diff --git a/meta/recipes-connectivity/iproute2/iproute2_4.3.0.bb b/meta/recipes-connectivity/iproute2/iproute2_4.4.0.bb index 60f0a8d19c..7979e8bebd 100644 --- a/meta/recipes-connectivity/iproute2/iproute2_4.3.0.bb +++ b/meta/recipes-connectivity/iproute2/iproute2_4.4.0.bb | |||
| @@ -4,9 +4,10 @@ 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://iproute2-4.3.0-musl.patch \ | 6 | file://iproute2-4.3.0-musl.patch \ |
| 7 | file://iproute2-fix-building-with-musl.patch \ | ||
| 7 | " | 8 | " |
| 8 | SRC_URI[md5sum] = "1a2bbb80cfc7ab3f3e987e18b3207c2f" | 9 | SRC_URI[md5sum] = "d762653ec3e1ab0d4a9689e169ca184f" |
| 9 | SRC_URI[sha256sum] = "f03b1188dd6c039512424de82ff7a8f3b446680bd4e908ff42a7b9b137422995" | 10 | SRC_URI[sha256sum] = "bc91c367288a19f78ef800cd6840363be1f22da8436fbae88e1a7250490d6514" |
| 10 | 11 | ||
| 11 | # CFLAGS are computed in Makefile and reference CCOPTS | 12 | # CFLAGS are computed in Makefile and reference CCOPTS |
| 12 | # | 13 | # |
