aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox/patches/120-remove_uclibc_rpc_check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/utils/busybox/patches/120-remove_uclibc_rpc_check.patch')
-rw-r--r--package/utils/busybox/patches/120-remove_uclibc_rpc_check.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/utils/busybox/patches/120-remove_uclibc_rpc_check.patch b/package/utils/busybox/patches/120-remove_uclibc_rpc_check.patch
new file mode 100644
index 0000000..5499efd
--- /dev/null
+++ b/package/utils/busybox/patches/120-remove_uclibc_rpc_check.patch
@@ -0,0 +1,12 @@
+--- a/util-linux/mount.c
++++ b/util-linux/mount.c
+@@ -236,9 +236,6 @@
+ #if ENABLE_FEATURE_MOUNT_NFS
+ /* This is just a warning of a common mistake. Possibly this should be a
+ * uclibc faq entry rather than in busybox... */
+-# if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
+-# error "You need to build uClibc with UCLIBC_HAS_RPC for NFS support"
+-# endif
+ # include <rpc/rpc.h>
+ # include <rpc/pmap_prot.h>
+ # include <rpc/pmap_clnt.h>