diff options
| author | Michael Forney <mforney@mforney.org> | 2019-06-17 23:23:02 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-06-19 10:02:38 -0700 |
| commit | 56f9e5e45fa33a8819a0b539f2afde804ba27279 (patch) | |
| tree | bf29dd3a6996145c378353ebc5da1cafc81b0657 /pkg/fuse/patch/0001-Fix-build-with-IGNORE_MTAB-425.patch | |
| parent | a77ed8efe01a1d328d9cc409ed1f2cc2d90c7452 (diff) | |
fuse: Fix a few portability issues
Diffstat (limited to 'pkg/fuse/patch/0001-Fix-build-with-IGNORE_MTAB-425.patch')
| -rw-r--r-- | pkg/fuse/patch/0001-Fix-build-with-IGNORE_MTAB-425.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkg/fuse/patch/0001-Fix-build-with-IGNORE_MTAB-425.patch b/pkg/fuse/patch/0001-Fix-build-with-IGNORE_MTAB-425.patch new file mode 100644 index 00000000..d60cb426 --- /dev/null +++ b/pkg/fuse/patch/0001-Fix-build-with-IGNORE_MTAB-425.patch @@ -0,0 +1,34 @@ +From f0c52798b761280583379ba267b0ecc1ea34bbfc Mon Sep 17 00:00:00 2001 +From: Michael Forney <mforney@mforney.org> +Date: Sat, 15 Jun 2019 03:16:45 -0700 +Subject: [PATCH] Fix build with IGNORE_MTAB (#425) + +chdir_to_parent and check_is_mount are used by should_auto_mount, added +in fuse-3.3.0, regardless of whether IGNORE_MTAB is defined. +--- + util/fusermount.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/util/fusermount.c b/util/fusermount.c +index 5e0b104..56da6ec 100644 +--- a/util/fusermount.c ++++ b/util/fusermount.c +@@ -208,6 +208,7 @@ static int may_unmount(const char *mnt, int quiet) + + return 0; + } ++#endif + + /* + * Check whether the file specified in "fusermount3 -u" is really a +@@ -395,6 +396,7 @@ static int chdir_to_parent(char *copy, const char **lastp) + return 0; + } + ++#ifndef IGNORE_MTAB + /* Check whether the kernel supports UMOUNT_NOFOLLOW flag */ + static int umount_nofollow_support(void) + { +-- +2.20.1 + |
