summaryrefslogtreecommitdiff
path: root/meta/packages/nfs-utils/files
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-05-28 22:43:37 +0000
committerRichard Purdie <richard@openedhand.com>2007-05-28 22:43:37 +0000
commita1f245746634d3396e4e7dcba92c42f5578d104b (patch)
tree4c761d75247b7f4955e06f2670f6332aaa071b0a /meta/packages/nfs-utils/files
parente7e6a03fd797f61943bcb78373096df640f22fb9 (diff)
downloadopenembedded-core-a1f245746634d3396e4e7dcba92c42f5578d104b.tar.gz
openembedded-core-a1f245746634d3396e4e7dcba92c42f5578d104b.tar.bz2
openembedded-core-a1f245746634d3396e4e7dcba92c42f5578d104b.zip
nfs-utils: Add patch to work with uclibc
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1796 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/nfs-utils/files')
-rw-r--r--meta/packages/nfs-utils/files/uclibc_bzero_fix.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/packages/nfs-utils/files/uclibc_bzero_fix.patch b/meta/packages/nfs-utils/files/uclibc_bzero_fix.patch
new file mode 100644
index 0000000000..2006192d28
--- /dev/null
+++ b/meta/packages/nfs-utils/files/uclibc_bzero_fix.patch
@@ -0,0 +1,17 @@
+---
+ 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 */