diff --git a/package/base/netkit-base/gcc40.patch b/package/base/netkit-base/gcc40.patch new file mode 100644 index 000000000..44df16510 --- /dev/null +++ b/package/base/netkit-base/gcc40.patch @@ -0,0 +1,16 @@ +This fixes the error: + +Invalid lvalue in assignment + +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