diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-11-27 22:28:48 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-11-27 23:26:06 +0100 |
commit | 211a321934fae74d1ac4fa8b591bfa86c222845b (patch) | |
tree | f14466047965c86306c69035d252cb32aa7981e7 /package/nfs-utils/0004-fix-build-with-uClibc.patch | |
parent | 85802bb9808b087f5ec422680e9cac2f6c8b2ab7 (diff) | |
download | buildroot-211a321934fae74d1ac4fa8b591bfa86c222845b.tar.gz buildroot-211a321934fae74d1ac4fa8b591bfa86c222845b.zip |
package/nfs-utils: rename patches
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/nfs-utils/0004-fix-build-with-uClibc.patch')
-rw-r--r-- | package/nfs-utils/0004-fix-build-with-uClibc.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/nfs-utils/0004-fix-build-with-uClibc.patch b/package/nfs-utils/0004-fix-build-with-uClibc.patch new file mode 100644 index 0000000000..23da28f20c --- /dev/null +++ b/package/nfs-utils/0004-fix-build-with-uClibc.patch @@ -0,0 +1,31 @@ +From ff82d4c89d6ca771dea06bbaa06ddf3fed760402 Mon Sep 17 00:00:00 2001 +From: Peter Korsgaard <jacmet@sunsite.dk> +Date: Sat, 10 Nov 2012 18:58:48 +0100 +Subject: [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(-) + +diff --git a/support/include/sockaddr.h b/support/include/sockaddr.h +index 9af2543..5eef2ec 100644 +--- a/support/include/sockaddr.h ++++ b/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> +-- +1.7.9.5 + |