Add nfs-kernel-server package. Closes #500
[openwrt/svn-archive/archive.git] / net / nfs-kernel-server / patches / nfs-utils-1.0.6-uclibc.patch
1 --- nfs-utils-1.0.6/support/nfs/svc_socket.c.orig 2004-12-12 06:43:52.000000000 +0000
2 +++ nfs-utils-1.0.6/support/nfs/svc_socket.c 2004-12-12 06:50:04.000000000 +0000
3 @@ -66,6 +66,7 @@
4 __bzero ((char *) &addr, sizeof (addr));
5 addr.sin_family = AF_INET;
6
7 +#ifndef __UCLIBC__ /* neither getrpcbynumber() nor getrpcbynumber_r() is SuSv3 */
8 ret = getrpcbynumber_r (number, &rpcbuf, rpcdata, sizeof rpcdata,
9 &rpcp);
10 if (ret == 0 && rpcp != NULL)
11 @@ -99,6 +100,7 @@
12 }
13 }
14 else
15 +#endif /* ! __UCLIBC__ */
16 {
17 if (bindresvport (sock, &addr))
18 {