summaryrefslogtreecommitdiff
path: root/packages/nfs-utils/files
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-08-28 13:55:11 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-08-28 13:55:11 +0000
commit50bf42c0ac01c39b677caf3e7a8c2280f04703cc (patch)
treea0c6c387f9c08c73ff46ecedfd60567506fc61a6 /packages/nfs-utils/files
parent966255697cf8b5d0641c67fb60adf031b1f9dd0b (diff)
nfs-utils: Add patch to work with uclibc (Taken from Poky -r1796)
Diffstat (limited to 'packages/nfs-utils/files')
-rw-r--r--packages/nfs-utils/files/uclibc_bzero_fix.patch68
1 files changed, 68 insertions, 0 deletions
diff --git a/packages/nfs-utils/files/uclibc_bzero_fix.patch b/packages/nfs-utils/files/uclibc_bzero_fix.patch
new file mode 100644
index 0000000000..9a276d326e
--- /dev/null
+++ b/packages/nfs-utils/files/uclibc_bzero_fix.patch
@@ -0,0 +1,68 @@
+---
+ support/nfs/svc_socket.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: nfs-utils-1.0.6/support/nfs/svc_socket.c
+===================================================================
+--- nfs-utils-1.0.6.orig/support/nfs/svc_socket.c 2007-05-27 16:14:09.000000000 +0100
++++ nfs-utils-1.0.6/support/nfs/svc_socket.c 2007-05-28 22:43:55.000000000 +0100
+@@ -63,7 +63,7 @@ svc_socket (u_long number, int type, int
+ }
+ }
+
+- __bzero ((char *) &addr, sizeof (addr));
++ memset ((char *) &addr,0, sizeof (addr));
+ addr.sin_family = AF_INET;
+
+ #ifndef __UCLIBC__ /* neither getrpcbynumber() nor getrpcbynumber_r() is SuSv3 */
+---
+ support/nfs/svc_socket.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: nfs-utils-1.0.6/support/nfs/svc_socket.c
+===================================================================
+--- nfs-utils-1.0.6.orig/support/nfs/svc_socket.c 2007-05-27 16:14:09.000000000 +0100
++++ nfs-utils-1.0.6/support/nfs/svc_socket.c 2007-05-28 22:43:55.000000000 +0100
+@@ -63,7 +63,7 @@ svc_socket (u_long number, int type, int
+ }
+ }
+
+- __bzero ((char *) &addr, sizeof (addr));
++ memset ((char *) &addr,0, sizeof (addr));
+ addr.sin_family = AF_INET;
+
+ #ifndef __UCLIBC__ /* neither getrpcbynumber() nor getrpcbynumber_r() is SuSv3 */
+---
+ support/nfs/svc_socket.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: nfs-utils-1.0.6/support/nfs/svc_socket.c
+===================================================================
+--- nfs-utils-1.0.6.orig/support/nfs/svc_socket.c 2007-05-27 16:14:09.000000000 +0100
++++ nfs-utils-1.0.6/support/nfs/svc_socket.c 2007-05-28 22:43:55.000000000 +0100
+@@ -63,7 +63,7 @@ svc_socket (u_long number, int type, int
+ }
+ }
+
+- __bzero ((char *) &addr, sizeof (addr));
++ memset ((char *) &addr,0, sizeof (addr));
+ addr.sin_family = AF_INET;
+
+ #ifndef __UCLIBC__ /* neither getrpcbynumber() nor getrpcbynumber_r() is SuSv3 */
+---
+ support/nfs/svc_socket.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: nfs-utils-1.0.6/support/nfs/svc_socket.c
+===================================================================
+--- nfs-utils-1.0.6.orig/support/nfs/svc_socket.c 2007-05-27 16:14:09.000000000 +0100
++++ nfs-utils-1.0.6/support/nfs/svc_socket.c 2007-05-28 22:43:55.000000000 +0100
+@@ -63,7 +63,7 @@ svc_socket (u_long number, int type, int
+ }
+ }
+
+- __bzero ((char *) &addr, sizeof (addr));
++ memset ((char *) &addr,0, sizeof (addr));
+ addr.sin_family = AF_INET;
+
+ #ifndef __UCLIBC__ /* neither getrpcbynumber() nor getrpcbynumber_r() is SuSv3 */