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:28 +0000 |
commit | c8a7fdb2ac37b42a97f666cae6b3f5061a01ad45 (patch) | |
tree | 6344b6e0adb31e7ce720e46f9c0c5c2940dd8a37 /meta/recipes-connectivity/iproute2/iproute2 | |
parent | ee2c3293dd2e4b23c81444e503a672f5883316ba (diff) | |
download | openembedded-core-contrib-c8a7fdb2ac37b42a97f666cae6b3f5061a01ad45.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.
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-connectivity/iproute2/iproute2')
-rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2/iproute2-fix-building-with-musl.patch | 24 |
1 files changed, 24 insertions, 0 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 @@ +iproute2: fix building with musl + +We need limits.h for PATH_MAX, fixes: + +rt_names.c:364:13: error: ‘PATH_MAX’ undeclared (first use in this +function) + +Upstream-Status: Backport + +Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> +Signed-off-by: Maxin B. John <maxin.john@intel.com> +--- +diff --git a/lib/rt_names.c b/lib/rt_names.c +index f6d17c0..b665d3e 100644 +--- a/lib/rt_names.c ++++ b/lib/rt_names.c +@@ -18,6 +18,7 @@ + #include <sys/time.h> + #include <sys/socket.h> + #include <dirent.h> ++#include <limits.h> + + #include <asm/types.h> + #include <linux/rtnetlink.h> |