--- /dev/null
+upstream: unmaintained
+source: org.openembedded.dreambox fb4bee1268b9a0600fd6236ac0e9245f17b33f95
+
+| servtab.c: In function 'loadconfigent':
+| servtab.c:785:4: error: lvalue required as left operand of assignment
+[...]
+| servtab.c:798:4: error: lvalue required as left operand of assignment
+
+--- bla/inetd/servtab.c 2000-07-22 22:20:50.000000000 +0200
++++ bla/inetd/servtab.c 2006-03-01 15:26:46.000000000 +0100
+@@ -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
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 \
file://mconfig.patch \
+ file://gcc4_buildfix.patch \
file://init \
file://inetd.conf"
EXTRA_OEMAKE = "-C inetd"
do_compile () {
- oe_runmake 'CC=${CC}' 'LD=${LD}' all
+ sed -e 's:^CC=.*:CC=${CC}:' \
+ -e 's:^CFLAGS=.*:CFLAGS=${CFLAGS}:' \
+ -e 's:^LDFLAGS=.*:LDFLAGS=${LDFLAGS}:' \
+ -i ${S}/MCONFIG
+ oe_runmake
}
do_install () {