120-remove_uclibc_rpc_check.patch 447 B

123456789101112
  1. --- a/util-linux/mount.c
  2. +++ b/util-linux/mount.c
  3. @@ -138,9 +138,6 @@
  4. #if ENABLE_FEATURE_MOUNT_NFS
  5. /* This is just a warning of a common mistake. Possibly this should be a
  6. * uclibc faq entry rather than in busybox... */
  7. -# if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
  8. -# error "You need to build uClibc with UCLIBC_HAS_RPC for NFS support"
  9. -# endif
  10. # include <rpc/rpc.h>
  11. # include <rpc/pmap_prot.h>
  12. # include <rpc/pmap_clnt.h>