1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-30 23:01:09 +02:00
openwrt-xburst/openwrt/package/fuse/patches/111-uclibc_changes.patch
nico ad29099325 update fuse to new upstream release (v2.4.1) (thanks to Christian Magnusson)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-10-20 03:00:29 +00:00

17 lines
596 B
Diff

diff -ruw fuse-2.4.0/util/fusermount.c.org fuse-2.4.0/util/fusermount.c
--- fuse-2.4.0/util/fusermount.c.org 2005-10-14 11:34:06.000000000 +0200
+++ fuse-2.4.0/util/fusermount.c 2005-10-14 11:56:26.000000000 +0200
@@ -42,7 +42,12 @@
#define FUSE_COMMFD_ENV "_FUSE_COMMFD"
#define FUSE_DEV_OLD "/proc/fs/fuse/dev"
+#ifdef __UCLIBC__
+/* /dev is mounted as devfs in OpenWRT, and device is created here */
+#define FUSE_DEV_NEW "/dev/misc/fuse"
+#else
#define FUSE_DEV_NEW "/dev/fuse"
+#endif
#define FUSE_VERSION_FILE_OLD "/proc/fs/fuse/version"
#define FUSE_CONF "/etc/fuse.conf"