busybox: disable the check for the uclibc rpc config option
authorFelix Fietkau <nbd@openwrt.org>
Sun, 13 Feb 2011 02:52:30 +0000 (02:52 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 13 Feb 2011 02:52:30 +0000 (02:52 +0000)
SVN-Revision: 25506

package/busybox/patches/490-mount_disable_check.patch [new file with mode: 0644]

diff --git a/package/busybox/patches/490-mount_disable_check.patch b/package/busybox/patches/490-mount_disable_check.patch
new file mode 100644 (file)
index 0000000..513405f
--- /dev/null
@@ -0,0 +1,12 @@
+--- a/util-linux/mount.c
++++ b/util-linux/mount.c
+@@ -69,9 +69,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>