aboutsummaryrefslogtreecommitdiffstats
path: root/package/fuse24/patches/111-uclibc_changes.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-06-11 02:09:53 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-06-11 02:09:53 +0000
commit0dc50344f0286921aadbae5124559f2dca14e7e3 (patch)
tree86e1d42e50f678ca8346bc1efc9b1f1f69558c23 /package/fuse24/patches/111-uclibc_changes.patch
parent99e23d21447f669776f5c05f5a6afb0c6603bf25 (diff)
downloadupstream-0dc50344f0286921aadbae5124559f2dca14e7e3.tar.gz
upstream-0dc50344f0286921aadbae5124559f2dca14e7e3.tar.bz2
upstream-0dc50344f0286921aadbae5124559f2dca14e7e3.zip
fuse24: introduce fuse package for brcm-2.4 (#5186)
SVN-Revision: 16411
Diffstat (limited to 'package/fuse24/patches/111-uclibc_changes.patch')
-rw-r--r--package/fuse24/patches/111-uclibc_changes.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/fuse24/patches/111-uclibc_changes.patch b/package/fuse24/patches/111-uclibc_changes.patch
new file mode 100644
index 0000000000..69730758e6
--- /dev/null
+++ b/package/fuse24/patches/111-uclibc_changes.patch
@@ -0,0 +1,16 @@
+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"
+