summaryrefslogtreecommitdiffstats
path: root/package/autofs/0001-include-linux-nfs.h-directly-in-rpc_sub.patch
diff options
context:
space:
mode:
authorJonathan Ben Avraham <yba@tkos.co.il>2015-12-22 18:51:10 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-22 19:05:49 +0100
commit748131a4c56f092bf302a6fea6901220d50174cd (patch)
tree95321b75f053f4171c6b7e60940adf769439010c /package/autofs/0001-include-linux-nfs.h-directly-in-rpc_sub.patch
parentb36d4d964d0a30fd848e5804ef28ad8f500ba8df (diff)
downloadbuildroot-748131a4c56f092bf302a6fea6901220d50174cd.tar.gz
buildroot-748131a4c56f092bf302a6fea6901220d50174cd.zip
autofs: new package
Tested on i.MX6 using NFS mounts only. Not tested with DAS mounts as of this commit. [Thomas: - remove the "# rpcbind" comments on the thread and mmu dependencies, since we don't select rpcbind. The thread and mmu dependencies are still needed though, since autofs uses pthread_*() functions and fork(). - Remove "Requires a toolchain with native RPC." in the Config.in help text and instead add a proper Config.in comment about the thread and RPC dependency. - Add patch to fix building with uClibc, taken from OpenEmbedded.] Signed-off-by: Jonathan Ben Avraham <yba@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/autofs/0001-include-linux-nfs.h-directly-in-rpc_sub.patch')
-rw-r--r--package/autofs/0001-include-linux-nfs.h-directly-in-rpc_sub.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/autofs/0001-include-linux-nfs.h-directly-in-rpc_sub.patch b/package/autofs/0001-include-linux-nfs.h-directly-in-rpc_sub.patch
new file mode 100644
index 0000000000..26e86c325f
--- /dev/null
+++ b/package/autofs/0001-include-linux-nfs.h-directly-in-rpc_sub.patch
@@ -0,0 +1,33 @@
+Upstream-Status: Pending
+
+From 44bdce8c6ed9b30c1643e5981172a4f9025f013c Mon Sep 17 00:00:00 2001
+From: Andreas Oberritter <obi@opendreambox.org>
+Date: Wed, 13 Mar 2013 16:17:08 +0100
+Subject: [PATCH] autofs-5.0.7: include linux/nfs.h directly in rpc_subs.h
+
+Fixes compile error with uclibc. Glibc's nfs/nfs.h contains
+nothing but "#include linux/nfs.h". rpc_subs.h already includes
+other linux/nfs*.h files directly.
+
+Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+---
+ include/rpc_subs.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/rpc_subs.h b/include/rpc_subs.h
+index b6d59f9..a2d9648 100644
+--- a/include/rpc_subs.h
++++ b/include/rpc_subs.h
+@@ -18,7 +18,7 @@
+
+ #include <rpc/rpc.h>
+ #include <rpc/pmap_prot.h>
+-#include <nfs/nfs.h>
++#include <linux/nfs.h>
+ #include <linux/nfs2.h>
+ #include <linux/nfs3.h>
+
+--
+1.7.10.4
+
OpenPOWER on IntegriCloud