* [meta-networking][PATCH] inetutils: fix compile error when PATH_PROCNET_DEV is undefined
@ 2013-12-18 15:20 Eric Bénard
2013-12-18 15:33 ` Koen Kooi
0 siblings, 1 reply; 5+ messages in thread
From: Eric Bénard @ 2013-12-18 15:20 UTC (permalink / raw)
To: openembedded-devel; +Cc: joe.macdonald
patch taken from :
http://repository.timesys.com/buildsources/i/inetutils/inetutils-1.9/inetutils-1.9-PATH_PROCNET_DEV.patch
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"
--
1.8.5.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [meta-networking][PATCH] inetutils: fix compile error when PATH_PROCNET_DEV is undefined
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
2013-12-18 16:36 ` Eric Bénard
0 siblings, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2013-12-18 15:33 UTC (permalink / raw)
To: openembedded-devel
-----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-----
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-networking][PATCH] inetutils: fix compile error when PATH_PROCNET_DEV is undefined
2013-12-18 15:33 ` Koen Kooi
@ 2013-12-18 16:36 ` Eric Bénard
2013-12-18 16:37 ` Koen Kooi
0 siblings, 1 reply; 5+ messages in thread
From: Eric Bénard @ 2013-12-18 16:36 UTC (permalink / raw)
To: openembedded-devel; +Cc: koen
Hi Koen,
Le Wed, 18 Dec 2013 16:33:24 +0100,
Koen Kooi <koen@dominion.thruhere.net> a écrit :
> 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.
>
I don't know which status to put there as it's not upstream : which
one is appropriate ?
Eric
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-networking][PATCH] inetutils: fix compile error when PATH_PROCNET_DEV is undefined
2013-12-18 16:36 ` Eric Bénard
@ 2013-12-18 16:37 ` Koen Kooi
2013-12-18 16:42 ` Paul Eggleton
0 siblings, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2013-12-18 16:37 UTC (permalink / raw)
To: Eric Bénard; +Cc: openembedded-devel@lists.openembedded.org List
Op 18 dec. 2013, om 17:36 heeft Eric Bénard <eric@eukrea.com> het volgende geschreven:
> Hi Koen,
>
> Le Wed, 18 Dec 2013 16:33:24 +0100,
> Koen Kooi <koen@dominion.thruhere.net> a écrit :
>> 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.
>>
> I don't know which status to put there as it's not upstream : which
> one is appropriate ?
I put in "Unknown" in that case, but that's not a valid option for OE-core recipes.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-networking][PATCH] inetutils: fix compile error when PATH_PROCNET_DEV is undefined
2013-12-18 16:37 ` Koen Kooi
@ 2013-12-18 16:42 ` Paul Eggleton
0 siblings, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2013-12-18 16:42 UTC (permalink / raw)
To: Koen Kooi, Eric Bénard; +Cc: openembedded-devel
On Wednesday 18 December 2013 17:37:24 Koen Kooi wrote:
> Op 18 dec. 2013, om 17:36 heeft Eric Bénard <eric@eukrea.com> het volgende
> geschreven:
> > Le Wed, 18 Dec 2013 16:33:24 +0100,
> > Koen Kooi <koen@dominion.thruhere.net> a écrit :
> >> Eric Bénard schreef op 18-12-13 16:20:
> >>> patch taken from :
> >>> http://repository.timesys.com/buildsources/i/inetutils/inetutils-1.9/ine
> >>> tutils-1.9-PATH_PROCNET_DEV.patch>>
> >> Put that in the patch itself please and also add an Upstream-Status tag.
> >
> > I don't know which status to put there as it's not upstream : which
> > one is appropriate ?
>
> I put in "Unknown" in that case, but that's not a valid option for OE-core
> recipes.
The valid list, as agreed by the TSC some time ago, is part of the document we
have here:
http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-12-18 16:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2013-12-18 16:36 ` Eric Bénard
2013-12-18 16:37 ` Koen Kooi
2013-12-18 16:42 ` Paul Eggleton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.