1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-28 20:05:23 +02:00
openwrt-packages/utils/ntfs-3g/patches/001-fuseint-fix-path-mounted-on-musl.patch
Ted Hess 092b4d0ae8 ntfs-3g: Update to 2017.3.23 version, provide single utilites package, refresh patches
Changes to NTFS-3G:

    Delegated processing of special reparse points to external plugins
    Allowed kernel cacheing by lowntfs-3g when not using Posix ACLs
    Enabled fallback to read-only mount when the volume is hibernated
    Made a full check for whether an extended attribute is allowed
    Moved secaudit and usermap to ntfsprogs (now ntfssecaudit and ntfsusermap)
    Enabled encoding broken UTF-16 into broken UTF-8
    Autoconfigured selecting <sys/sysmacros.h> vs <sys/mkdev>
    Allowed using the full library API on systems without extended attributes support
    Fixed DISABLE_PLUGINS as the condition for not using plugins
    Corrected validation of multi sector transfer protected records
    Denied creating/removing files from $Extend
    Returned the size of locale encoded target as the size of symlinks

    http://www.tuxera.com/community/release-history/

    Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>

    Make ntfs-3g-utils into a single package due to upstream package changes.

    Signed-off-by: Ted Hess <thess@kitschensync.net>
2017-04-30 12:24:29 -04:00

27 lines
543 B
Diff

--- a/libfuse-lite/fusermount.c
+++ b/libfuse-lite/fusermount.c
@@ -37,6 +37,10 @@
#define FUSE_DEV_NEW "/dev/fuse"
+#ifndef _PATH_MOUNTED
+#define _PATH_MOUNTED "/proc/mounts"
+#endif
+
#ifndef MS_DIRSYNC
#define MS_DIRSYNC 128
#endif
--- a/libfuse-lite/mount_util.c
+++ b/libfuse-lite/mount_util.c
@@ -264,6 +264,10 @@ int fuse_mnt_check_fuseblk(void)
#else /* __SOLARIS__ */
+#ifndef _PATH_MOUNTED
+#define _PATH_MOUNTED "/proc/mounts"
+#endif /* _PATH_MOUNTED */
+
static int mtab_needs_update(const char *mnt)
{
int res;