From 87c34001006b65b2be65cb87168b498c915390e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Wed, 6 Aug 2014 09:52:50 +0300 Subject: main/nfs-utils: upgrade to 1.3.1-rc3 and refresh musl patches use patch series sent to linux-nfs mailing list, and add one more patch to address accessing /proc/net/rpc. --- ...standard-dev_t-instead-of-glibc-internals.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 main/nfs-utils/0005-mountd-use-standard-dev_t-instead-of-glibc-internals.patch (limited to 'main/nfs-utils/0005-mountd-use-standard-dev_t-instead-of-glibc-internals.patch') diff --git a/main/nfs-utils/0005-mountd-use-standard-dev_t-instead-of-glibc-internals.patch b/main/nfs-utils/0005-mountd-use-standard-dev_t-instead-of-glibc-internals.patch new file mode 100644 index 0000000000..e9c666954f --- /dev/null +++ b/main/nfs-utils/0005-mountd-use-standard-dev_t-instead-of-glibc-internals.patch @@ -0,0 +1,29 @@ +From f16907e3a179438ff93e712d5303d8041f918dbe Mon Sep 17 00:00:00 2001 +From: Natanael Copa +Date: Wed, 12 Feb 2014 14:04:30 +0000 +Subject: [PATCH] mountd: use standard dev_t instead of glibc internals + +The __dev_t is a GNU libc internal. Use the standard dev_t instead, +which is specified in POSIX. + +Signed-off-by: Natanael Copa +--- + utils/mountd/cache.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c +index b0cc6a8..663a52a 100644 +--- a/utils/mountd/cache.c ++++ b/utils/mountd/cache.c +@@ -1419,7 +1419,7 @@ static int cache_export_ent(char *domain, struct exportent *exp, char *path) + */ + struct stat stb; + size_t l = strlen(exp->e_path); +- __dev_t dev; ++ dev_t dev; + + if (strlen(path) <= l || path[l] != '/' || + strncmp(exp->e_path, path, l) != 0) +-- +2.0.4 + -- cgit v1.2.3