diff options
author | Richard Purdie <richard@openedhand.com> | 2007-05-28 22:43:37 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-05-28 22:43:37 +0000 |
commit | a1f245746634d3396e4e7dcba92c42f5578d104b (patch) | |
tree | 4c761d75247b7f4955e06f2670f6332aaa071b0a /meta/packages/nfs-utils | |
parent | e7e6a03fd797f61943bcb78373096df640f22fb9 (diff) | |
download | poky-a1f245746634d3396e4e7dcba92c42f5578d104b.tar.gz |
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')
-rw-r--r-- | meta/packages/nfs-utils/files/uclibc_bzero_fix.patch | 17 | ||||
-rw-r--r-- | meta/packages/nfs-utils/nfs-utils_1.0.6.bb | 3 |
2 files changed, 19 insertions, 1 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 @@ | |||
1 | --- | ||
2 | support/nfs/svc_socket.c | 2 +- | ||
3 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
4 | |||
5 | Index: nfs-utils-1.0.6/support/nfs/svc_socket.c | ||
6 | =================================================================== | ||
7 | --- nfs-utils-1.0.6.orig/support/nfs/svc_socket.c 2007-05-27 16:14:09.000000000 +0100 | ||
8 | +++ nfs-utils-1.0.6/support/nfs/svc_socket.c 2007-05-28 22:43:55.000000000 +0100 | ||
9 | @@ -63,7 +63,7 @@ svc_socket (u_long number, int type, int | ||
10 | } | ||
11 | } | ||
12 | |||
13 | - __bzero ((char *) &addr, sizeof (addr)); | ||
14 | + memset ((char *) &addr,0, sizeof (addr)); | ||
15 | addr.sin_family = AF_INET; | ||
16 | |||
17 | #ifndef __UCLIBC__ /* neither getrpcbynumber() nor getrpcbynumber_r() is SuSv3 */ | ||
diff --git a/meta/packages/nfs-utils/nfs-utils_1.0.6.bb b/meta/packages/nfs-utils/nfs-utils_1.0.6.bb index 012679b8b9..fbc2a96a3c 100644 --- a/meta/packages/nfs-utils/nfs-utils_1.0.6.bb +++ b/meta/packages/nfs-utils/nfs-utils_1.0.6.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "userspace utilities for kernel nfs" | |||
2 | PRIORITY = "optional" | 2 | PRIORITY = "optional" |
3 | SECTION = "console/network" | 3 | SECTION = "console/network" |
4 | LICENSE = "GPL" | 4 | LICENSE = "GPL" |
5 | PR = "r10" | 5 | PR = "r11" |
6 | 6 | ||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/nfs/nfs-utils-${PV}.tar.gz \ | 7 | SRC_URI = "${SOURCEFORGE_MIRROR}/nfs/nfs-utils-${PV}.tar.gz \ |
8 | file://acinclude-lossage.patch;patch=1 \ | 8 | file://acinclude-lossage.patch;patch=1 \ |
@@ -10,6 +10,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/nfs/nfs-utils-${PV}.tar.gz \ | |||
10 | file://stat-include.patch;patch=1 \ | 10 | file://stat-include.patch;patch=1 \ |
11 | file://nfs-utils-1.0.6-uclibc.patch;patch=1 \ | 11 | file://nfs-utils-1.0.6-uclibc.patch;patch=1 \ |
12 | file://kernel-2.6.18+.patch;patch=1 \ | 12 | file://kernel-2.6.18+.patch;patch=1 \ |
13 | file://uclibc_bzero_fix.patch;patch=1 \ | ||
13 | file://nfsserver \ | 14 | file://nfsserver \ |
14 | file://forgotten-defines" | 15 | file://forgotten-defines" |
15 | 16 | ||