diff options
author | Ned Ludd <solar@gentoo.org> | 2005-01-15 19:02:44 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2005-01-15 19:02:44 +0000 |
commit | 768e8f4e24aa445ab0927594b86b5aa84274cf5b (patch) | |
tree | 2709fae4b660baa8088c81709a8b976dc17f248f /net-fs/nfs-utils/files | |
parent | Added ~ppc64 to KEYWORDS (Manifest recommit) (diff) | |
download | gentoo-2-768e8f4e24aa445ab0927594b86b5aa84274cf5b.tar.gz gentoo-2-768e8f4e24aa445ab0927594b86b5aa84274cf5b.tar.bz2 gentoo-2-768e8f4e24aa445ab0927594b86b5aa84274cf5b.zip |
- getrpcbynumber_r is not in the SuSv3 spec. disable it for uClibc
Diffstat (limited to 'net-fs/nfs-utils/files')
-rw-r--r-- | net-fs/nfs-utils/files/digest-nfs-utils-1.0.6-r6 | 1 | ||||
-rw-r--r-- | net-fs/nfs-utils/files/nfs-utils-1.0.6-uclibc.patch | 18 |
2 files changed, 18 insertions, 1 deletions
diff --git a/net-fs/nfs-utils/files/digest-nfs-utils-1.0.6-r6 b/net-fs/nfs-utils/files/digest-nfs-utils-1.0.6-r6 index 319c3d94379e..e69de29bb2d1 100644 --- a/net-fs/nfs-utils/files/digest-nfs-utils-1.0.6-r6 +++ b/net-fs/nfs-utils/files/digest-nfs-utils-1.0.6-r6 @@ -1 +0,0 @@ -MD5 f17e9983457e1cf61c37f0be4493fce6 nfs-utils-1.0.6.tar.gz 265964 diff --git a/net-fs/nfs-utils/files/nfs-utils-1.0.6-uclibc.patch b/net-fs/nfs-utils/files/nfs-utils-1.0.6-uclibc.patch new file mode 100644 index 000000000000..3336549dbaa4 --- /dev/null +++ b/net-fs/nfs-utils/files/nfs-utils-1.0.6-uclibc.patch @@ -0,0 +1,18 @@ +--- ./support/nfs/svc_socket.c.orig 2004-12-12 06:43:52.000000000 +0000 ++++ ./support/nfs/svc_socket.c 2004-12-12 06:50:04.000000000 +0000 +@@ -66,6 +66,7 @@ + __bzero ((char *) &addr, sizeof (addr)); + addr.sin_family = AF_INET; + ++#ifndef __UCLIBC__ /* neither getrpcbynumber() nor getrpcbynumber_r() is SuSv3 */ + ret = getrpcbynumber_r (number, &rpcbuf, rpcdata, sizeof rpcdata, + &rpcp); + if (ret == 0 && rpcp != NULL) +@@ -99,6 +100,7 @@ + } + } + else ++#endif /* ! __UCLIBC__ */ + { + if (bindresvport (sock, &addr)) + { |