diff options
Diffstat (limited to 'meta-oe/recipes-support/nfs-utils/nfs-utils-1.1.2/nfs-utils-uclibc-compile.patch')
-rw-r--r-- | meta-oe/recipes-support/nfs-utils/nfs-utils-1.1.2/nfs-utils-uclibc-compile.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/meta-oe/recipes-support/nfs-utils/nfs-utils-1.1.2/nfs-utils-uclibc-compile.patch b/meta-oe/recipes-support/nfs-utils/nfs-utils-1.1.2/nfs-utils-uclibc-compile.patch deleted file mode 100644 index f242eade45..0000000000 --- a/meta-oe/recipes-support/nfs-utils/nfs-utils-1.1.2/nfs-utils-uclibc-compile.patch +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | --- a/support/nfs/svc_socket.c.org 2007-05-11 03:40:57 +0000 | ||
2 | +++ b/support/nfs/svc_socket.c 2007-10-24 15:20:05 +0000 | ||
3 | @@ -67,8 +67,13 @@ | ||
4 | memset (&addr, 0, sizeof (addr)); | ||
5 | addr.sin_family = AF_INET; | ||
6 | |||
7 | +#ifdef __UCLIBC__ | ||
8 | + rpcp = getrpcbynumber (number); | ||
9 | + ret = 0; | ||
10 | +#else | ||
11 | ret = getrpcbynumber_r (number, &rpcbuf, rpcdata, sizeof rpcdata, | ||
12 | &rpcp); | ||
13 | +#endif | ||
14 | if (ret == 0 && rpcp != NULL) | ||
15 | { | ||
16 | /* First try name. */ | ||
17 | --- a/utils/mountd/cache.c.org 2007-05-11 03:40:57 +0000 | ||
18 | +++ b/utils/mountd/cache.c 2007-10-24 15:21:53 +0000 | ||
19 | @@ -131,6 +131,7 @@ | ||
20 | pw = getpwuid(uid); | ||
21 | if (!pw) | ||
22 | rv = -1; | ||
23 | +#ifndef __UCLIBC__ | ||
24 | else { | ||
25 | rv = getgrouplist(pw->pw_name, pw->pw_gid, groups, &ngroups); | ||
26 | if (rv == -1 && ngroups >= 100) { | ||
27 | @@ -142,6 +143,7 @@ | ||
28 | groups, &ngroups); | ||
29 | } | ||
30 | } | ||
31 | +#endif | ||
32 | qword_printint(f, uid); | ||
33 | qword_printint(f, time(0)+30*60); | ||
34 | if (rv >= 0) { | ||
35 | --- a/tools/rpcgen/rpc_cout.c.org 2007-05-11 03:40:57 +0000 | ||
36 | +++ b/tools/rpcgen/rpc_cout.c 2007-10-24 15:23:17 +0000 | ||
37 | @@ -647,7 +647,11 @@ | ||
38 | int freed=0; | ||
39 | |||
40 | if(flag == PUT) | ||
41 | +#ifdef __UCLIBC__ | ||
42 | + f_print(fout,"\t\t IXDR_PUT_"); | ||
43 | +#else | ||
44 | f_print(fout,"\t\t (void) IXDR_PUT_"); | ||
45 | +#endif | ||
46 | else | ||
47 | if(rel== REL_ALIAS) | ||
48 | f_print(fout,"\t\t objp->%s = IXDR_GET_",decl->name); | ||
49 | |||