aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-13 02:52:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-02-13 02:52:30 +0000
commit4613711c4f9e7b5a4f3690636cf8852a01574030 (patch)
tree63dd2c7feeca63c9e86ef4817db3dcc536582472
parentf9db725f5c5e7a01e34d1d633410823c4f8efba0 (diff)
downloadupstream-4613711c4f9e7b5a4f3690636cf8852a01574030.tar.gz
upstream-4613711c4f9e7b5a4f3690636cf8852a01574030.tar.bz2
upstream-4613711c4f9e7b5a4f3690636cf8852a01574030.zip
busybox: disable the check for the uclibc rpc config option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25506 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/busybox/patches/490-mount_disable_check.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/patches/490-mount_disable_check.patch b/package/busybox/patches/490-mount_disable_check.patch
new file mode 100644
index 0000000000..513405fcf7
--- /dev/null
+++ b/package/busybox/patches/490-mount_disable_check.patch
@@ -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>