Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 19 years ago
parent
commit
b91f866c4c
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      package/base/netkit-base/gcc40.patch

+ 16
- 0
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

Loading…
Cancel
Save