---
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
+--- 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;}
++#define SWAP(type, a, b) {type c=(type)a; a=(type)b; b=(type)c;}
+
+ /*
+ * sep->se_wait may be holding the pid of a daemon
diff --git a/recipes/netkit-base/netkit-base_0.17.bb
b/recipes/netkit-base/netkit-base_0.17.bb
index 88016ea..c910b29 100644
--- a/recipes/netkit-base/netkit-base_0.17.bb
+++ b/recipes/netkit-base/netkit-base_0.17.bb
@@ -1,11 +1,12 @@
SECTION = "base"
DESCRIPTION = "netkit-base includes the inetd daemon."
LICENSE = "BSD"
-PR = "r1"
+PR = "r2"
SRC_URI
= "ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-base-${PV}.tar.gz
\
file://configure.patch;patch=1 \
file://mconfig.patch;patch=1 \
+ file://gcc4.patch;patch=1 \
file://init \
file://inetd.conf"
--
1.6.5.rc1.44.ga1675
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel