summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.0.6-uclibc.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-01-21 21:04:26 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-25 12:42:43 +0000
commit8adcafc239ccb3fa9fc968140b43da90d735ce21 (patch)
treedab876fab92305921a4b7e3c0f93f9360f4a6e94 /meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.0.6-uclibc.patch
parent3991c5520e584635d3034f27ce817c453b36fb2d (diff)
downloadpoky-8adcafc239ccb3fa9fc968140b43da90d735ce21.tar.gz
nfs-utils: Upgrade 1.2.3 -> 1.2.8-rc3
Disable nfsv4l since it needs LVM2 which is not available in OE-Core Disable nfsdcltrack since its configure time check for sqlite3 is not cross compiling safe It can support ipv6 but thats disabled since we disable libtirpc which is needed for ipv6 support in nfs-utils Patches imported from fedora to take us to 1.2.8-rc3 (From OE-Core rev: 658bfe4690005d0a68dc4e3ca2bc741ff4c89f28) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.0.6-uclibc.patch')
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.0.6-uclibc.patch39
1 files changed, 22 insertions, 17 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.0.6-uclibc.patch b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.0.6-uclibc.patch
index 6d46d3a591..c3442380e1 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.0.6-uclibc.patch
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.0.6-uclibc.patch
@@ -1,22 +1,27 @@
1Signed-off-by: Khem Raj <raj.khem@gmail.com>
2
1Upstream-Status: Inappropriate [embedded specific] 3Upstream-Status: Inappropriate [embedded specific]
2 4
3Index: nfs-utils-1.2.3/support/nfs/svc_socket.c 5Index: nfs-utils-1.2.6/support/nfs/svc_socket.c
4=================================================================== 6===================================================================
5--- nfs-utils-1.2.3.orig/support/nfs/svc_socket.c 7--- nfs-utils-1.2.6.orig/support/nfs/svc_socket.c 2012-05-14 07:40:52.000000000 -0700
6+++ nfs-utils-1.2.3/support/nfs/svc_socket.c 8+++ nfs-utils-1.2.6/support/nfs/svc_socket.c 2012-10-28 02:42:50.179222457 -0700
7@@ -67,6 +67,7 @@ svc_socket (u_long number, int type, int 9@@ -40,8 +40,9 @@
8 memset (&addr, 0, sizeof (addr)); 10 char rpcdata[1024], servdata[1024];
9 addr.sin_family = AF_INET; 11 struct rpcent rpcbuf, *rpcp;
12 struct servent servbuf, *servp = NULL;
13- int ret;
14+ int ret = 0;
10 15
11+#ifndef __UCLIBC__ /* neither getrpcbynumber() nor getrpcbynumber_r() is SuSv3 */ 16+#ifndef __UCLIBC__ /* neither getrpcbynumber() nor getrpcbynumber_r() is SuSv3 */
12 ret = getrpcbynumber_r (number, &rpcbuf, rpcdata, sizeof rpcdata, 17 ret = getrpcbynumber_r(number, &rpcbuf, rpcdata, sizeof rpcdata,
13 &rpcp); 18 &rpcp);
14 if (ret == 0 && rpcp != NULL) 19 if (ret == 0 && rpcp != NULL) {
15@@ -100,6 +101,7 @@ svc_socket (u_long number, int type, int 20@@ -60,6 +61,7 @@
21 }
22 }
16 } 23 }
17 } 24+#endif /* __UCLIBC__ */
18 else 25
19+#endif 26 if (ret == 0 && servp != NULL)
20 { 27 return ntohs(servp->s_port);
21 addr.sin_port = 0;
22 if (bind (sock, (struct sockaddr *) &addr, len) < 0)