From: Koen Kooi <koen@dominion.thruhere.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-networking][PATCH] inetutils: fix compile error when PATH_PROCNET_DEV is undefined
Date: Wed, 18 Dec 2013 16:33:24 +0100 [thread overview]
Message-ID: <l8sf7j$ksk$1@ger.gmane.org> (raw)
In-Reply-To: <1387380021-20465-1-git-send-email-eric@eukrea.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Eric Bénard schreef op 18-12-13 16:20:
> patch taken from :
> http://repository.timesys.com/buildsources/i/inetutils/inetutils-1.9/inetutils-1.9-PATH_PROCNET_DEV.patch
Put
>
that in the patch itself please and also add an Upstream-Status tag.
>
> Signed-off-by: Eric Bénard <eric@eukrea.com> ---
> .../inetutils-1.9.1/inetutils-1.9-PATH_PROCNET_DEV.patch | 14
> ++++++++++++++ .../recipes-connectivity/inetutils/inetutils_1.9.1.bb
> | 1 + 2 files changed, 15 insertions(+) create mode 100644
> meta-networking/recipes-connectivity/inetutils/inetutils-1.9.1/inetutils-1.9-PATH_PROCNET_DEV.patch
>
> diff --git
> a/meta-networking/recipes-connectivity/inetutils/inetutils-1.9.1/inetutils-1.9-PATH_PROCNET_DEV.patch
> b/meta-networking/recipes-connectivity/inetutils/inetutils-1.9.1/inetutils-1.9-PATH_PROCNET_DEV.patch
>
>
new file mode 100644
> index 0000000..54733be --- /dev/null +++
> b/meta-networking/recipes-connectivity/inetutils/inetutils-1.9.1/inetutils-1.9-PATH_PROCNET_DEV.patch
>
>
@@ -0,0 +1,14 @@
> +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" +
> \f + ++#ifndef PATH_PROCNET_DEV ++ #define PATH_PROCNET_DEV
> "/proc/net/dev" ++#endif ++ + /* ARPHRD stuff. */ + + static void diff
> --git a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb
> b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb index
> d12ad39..97fc6a1 100644 ---
> a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb +++
> b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb @@
> -20,6 +20,7 @@ SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz
> \ file://rsh.xinetd.inetutils \ file://telnet.xinetd.inetutils \
> file://tftpd.xinetd.inetutils \ +
> file://inetutils-1.9-PATH_PROCNET_DEV.patch \ "
>
> SRC_URI[md5sum] = "944f7196a2b3dba2d400e9088576000c"
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFSscBEMkyGM64RGpERAjjTAJ49RWAG1QHY+6fBcrK/NrxvnfYT8ACbBn1O
W8nFexfgdpBRidfeDadBvrU=
=meB2
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2013-12-18 15:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-18 15:20 [meta-networking][PATCH] inetutils: fix compile error when PATH_PROCNET_DEV is undefined Eric Bénard
2013-12-18 15:33 ` Koen Kooi [this message]
2013-12-18 16:36 ` Eric Bénard
2013-12-18 16:37 ` Koen Kooi
2013-12-18 16:42 ` Paul Eggleton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='l8sf7j$ksk$1@ger.gmane.org' \
--to=koen@dominion.thruhere.net \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox