mirror of
git://git.yoctoproject.org/poky
synced 2026-09-07 14:38:40 +00:00
In order to have more robust stand-alone network tools in oe-core, bring
in inetutils from meta-openembedded/meta-networking. This imports the
recipes as of git commit:
commit 408204073e6bdcd8ac586e05d5b75213417673f2
Author: Martin Jansa <martin.jansa@gmail.com>
Date: Thu Aug 16 20:39:15 2018 +0000
inetutils: fix build with glibc-2.28
(From OE-Core rev: ace6911e663709f07ca73aa72f6bb4f4111b2749)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27 lines
807 B
Diff
27 lines
807 B
Diff
inetutils: define PATH_PROCNET_DEV if not already defined
|
||
|
||
this prevents the following compilation error :
|
||
system/linux.c:401:15: error: 'PATH_PROCNET_DEV' undeclared (first use in this function)
|
||
|
||
this patch comes from :
|
||
http://repository.timesys.com/buildsources/i/inetutils/inetutils-1.9/
|
||
|
||
Upstream-Status: Inappropriate [not author]
|
||
|
||
Signed-of-by: Eric Bénard <eric@eukrea.com>
|
||
---
|
||
diff -Naur inetutils-1.9.orig/ifconfig/system/linux.c inetutils-1.9/ifconfig/system/linux.c
|
||
--- inetutils-1.9.orig/ifconfig/system/linux.c 2012-01-04 16:31:36.000000000 -0500
|
||
+++ inetutils-1.9/ifconfig/system/linux.c 2012-01-04 16:40:53.000000000 -0500
|
||
@@ -49,6 +49,10 @@
|
||
#include "../ifconfig.h"
|
||
|
||
|
||
+#ifndef PATH_PROCNET_DEV
|
||
+ #define PATH_PROCNET_DEV "/proc/net/dev"
|
||
+#endif
|
||
+
|
||
/* ARPHRD stuff. */
|
||
|
||
static void
|