lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit 20fbeeb4e8096f24076daba452bedccb4ce25a26
parent 6db4640fe1e05c652ce29cd537448fe7a5077e42
Author: Ted Hess <thess@kitschensync.net>
Date:   Tue, 31 Mar 2015 08:23:11 -0400

Merge pull request #1093 from dangowrt/ntfs3g-musl-fix

ntfs-3g: fix build with musl when using internal libfuse
Diffstat:
Autils/ntfs-3g/patches/001-fuseint-fix-path-mounted-on-musl.patch | 30++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+), 0 deletions(-)

diff --git a/utils/ntfs-3g/patches/001-fuseint-fix-path-mounted-on-musl.patch b/utils/ntfs-3g/patches/001-fuseint-fix-path-mounted-on-musl.patch @@ -0,0 +1,30 @@ +Index: ntfs-3g-2014.2.15-1-fuseint/libfuse-lite/fusermount.c +=================================================================== +--- ntfs-3g-2014.2.15-1-fuseint.orig/libfuse-lite/fusermount.c ++++ ntfs-3g-2014.2.15-1-fuseint/libfuse-lite/fusermount.c +@@ -36,6 +36,10 @@ + + #define FUSE_DEV_NEW "/dev/fuse" + ++#ifndef _PATH_MOUNTED ++#define _PATH_MOUNTED "/proc/mounts" ++#endif ++ + #ifndef MS_DIRSYNC + #define MS_DIRSYNC 128 + #endif +Index: ntfs-3g-2014.2.15-1-fuseint/libfuse-lite/mount_util.c +=================================================================== +--- ntfs-3g-2014.2.15-1-fuseint.orig/libfuse-lite/mount_util.c ++++ ntfs-3g-2014.2.15-1-fuseint/libfuse-lite/mount_util.c +@@ -255,6 +255,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;