001-fuseint-fix-path-mounted-on-musl.patch (915B)
1 Index: ntfs-3g-2014.2.15-1-fuseint/libfuse-lite/fusermount.c 2 =================================================================== 3 --- ntfs-3g-2014.2.15-1-fuseint.orig/libfuse-lite/fusermount.c 4 +++ ntfs-3g-2014.2.15-1-fuseint/libfuse-lite/fusermount.c 5 @@ -36,6 +36,10 @@ 6 7 #define FUSE_DEV_NEW "/dev/fuse" 8 9 +#ifndef _PATH_MOUNTED 10 +#define _PATH_MOUNTED "/proc/mounts" 11 +#endif 12 + 13 #ifndef MS_DIRSYNC 14 #define MS_DIRSYNC 128 15 #endif 16 Index: ntfs-3g-2014.2.15-1-fuseint/libfuse-lite/mount_util.c 17 =================================================================== 18 --- ntfs-3g-2014.2.15-1-fuseint.orig/libfuse-lite/mount_util.c 19 +++ ntfs-3g-2014.2.15-1-fuseint/libfuse-lite/mount_util.c 20 @@ -255,6 +255,10 @@ int fuse_mnt_check_fuseblk(void) 21 22 #else /* __SOLARIS__ */ 23 24 +#ifndef _PATH_MOUNTED 25 +#define _PATH_MOUNTED "/proc/mounts" 26 +#endif /* _PATH_MOUNTED */ 27 + 28 static int mtab_needs_update(const char *mnt) 29 { 30 int res;