69730758e67a5ecb9ed702c9e1b2a6610c894d43
[openwrt/svn-archive/archive.git] / package / fuse24 / patches / 111-uclibc_changes.patch
1 diff -ruw fuse-2.4.0/util/fusermount.c.org fuse-2.4.0/util/fusermount.c
2 --- fuse-2.4.0/util/fusermount.c.org 2005-10-14 11:34:06.000000000 +0200
3 +++ fuse-2.4.0/util/fusermount.c 2005-10-14 11:56:26.000000000 +0200
4 @@ -42,7 +42,12 @@
5 #define FUSE_COMMFD_ENV "_FUSE_COMMFD"
6
7 #define FUSE_DEV_OLD "/proc/fs/fuse/dev"
8 +#ifdef __UCLIBC__
9 +/* /dev is mounted as devfs in OpenWRT, and device is created here */
10 +#define FUSE_DEV_NEW "/dev/misc/fuse"
11 +#else
12 #define FUSE_DEV_NEW "/dev/fuse"
13 +#endif
14 #define FUSE_VERSION_FILE_OLD "/proc/fs/fuse/version"
15 #define FUSE_CONF "/etc/fuse.conf"
16