diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2011-02-20 22:39:04 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-02-20 22:39:04 +0100 |
commit | 16e7b8255c82815126a2c502c3787d442d254a86 (patch) | |
tree | 118151a0292dfa16bc4733ebdc5e73ce68081016 /package/nfs-utils/nfs-utils-1.2.3-uclibc-libio.h.patch | |
parent | b1a3545a3f9dc3f18154dcfbe467c62a5088ed3d (diff) |
nfs-utils: bump version, convert to autotargets
Fixes build when host doesn't have rpcgen.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/nfs-utils/nfs-utils-1.2.3-uclibc-libio.h.patch')
-rw-r--r-- | package/nfs-utils/nfs-utils-1.2.3-uclibc-libio.h.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/package/nfs-utils/nfs-utils-1.2.3-uclibc-libio.h.patch b/package/nfs-utils/nfs-utils-1.2.3-uclibc-libio.h.patch new file mode 100644 index 000000000..589b96f7a --- /dev/null +++ b/package/nfs-utils/nfs-utils-1.2.3-uclibc-libio.h.patch @@ -0,0 +1,25 @@ +[PATCH] fix build with uClibc + +uClibc doesn't have/need libio.h, so don't include it from sockaddr.h + +Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> +--- + support/include/sockaddr.h | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +Index: nfs-utils-1.2.3/support/include/sockaddr.h +=================================================================== +--- nfs-utils-1.2.3.orig/support/include/sockaddr.h ++++ nfs-utils-1.2.3/support/include/sockaddr.h +@@ -20,7 +20,10 @@ + #ifndef NFS_UTILS_SOCKADDR_H + #define NFS_UTILS_SOCKADDR_H + +-#include <libio.h> ++/* uClibc doesn't have/need libio.h */ ++#ifndef __UCLIBC__ ++#include <libio.h> ++#endif + #include <stdbool.h> + #include <sys/socket.h> + #include <netinet/in.h> |