[oe] [PATCH] netkit-base: fix building with gcc4
Stefan Schmidt
stefan at datenfreihafen.org
Mon Feb 15 20:58:22 UTC 2010
Hello.
Sorry for the late reply. I was going to test and apply your patch, but it is
line wrapped and I failed fixing it up by hand.
On Thu, 2009-10-29 at 15:36, pieterg wrote:
> ---
>
> I guess nobody has been using netkit-base for a while, it needs the
> following patch to allow it to be built with gcc 4.x.x.
>
> recipes/netkit-base/netkit-base-0.17/gcc4.patch | 12 ++++++++++++
> recipes/netkit-base/netkit-base_0.17.bb | 3 ++-
> 2 files changed, 14 insertions(+), 1 deletions(-)
> create mode 100644 recipes/netkit-base/netkit-base-0.17/gcc4.patch
>
> diff --git a/recipes/netkit-base/netkit-base-0.17/gcc4.patch
> b/recipes/netkit-base/netkit-base-0.17/gcc4.patch
> new file mode 100644
> index 0000000..0a332a8
> --- /dev/null
> +++ b/recipes/netkit-base/netkit-base-0.17/gcc4.patch
> @@ -0,0 +1,12 @@
> +diff -dur netkit-base-0.17-p/inetd/servtab.c
> netkit-base-0.17/inetd/servtab.c
Here
> +--- netkit-base-0.17-p/inetd/servtab.c 2000-07-22 22:20:50.000000000 +0200
> ++++ netkit-base-0.17/inetd/servtab.c 2005-10-19 04:04:33.000000000 +0200
> +@@ -771,7 +771,7 @@
> + return;
> + }
> +
> +-#define SWAP(type, a, b) {type c=(type)a; (type)a=(type)b;
> (type)b=(type)c;}
Here, and more to come.
regards
Stefan Schmidt
More information about the Openembedded-devel
mailing list