summaryrefslogtreecommitdiff
path: root/openwrt/package/fuse/patches/111-uclibc_changes.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2006-06-17 08:34:53 +0000
committerNicolas Thill <nico@openwrt.org>2006-06-17 08:34:53 +0000
commita23d25253fbb45c3cdf8f53d1f07eb351eadc69b (patch)
tree00fb8c7746fa54981643b7efe0f223cf860e21d4 /openwrt/package/fuse/patches/111-uclibc_changes.patch
parent5b244391701e4d2fc72a80d90ae98c3baf88ef6a (diff)
downloadmtk-20170518-a23d25253fbb45c3cdf8f53d1f07eb351eadc69b.zip
mtk-20170518-a23d25253fbb45c3cdf8f53d1f07eb351eadc69b.tar.gz
mtk-20170518-a23d25253fbb45c3cdf8f53d1f07eb351eadc69b.tar.bz2
move fuse from target/linux/package/ to package/, update to v2.5.3, add userland lib, util and dev stuff from trunk.
SVN-Revision: 3966
Diffstat (limited to 'openwrt/package/fuse/patches/111-uclibc_changes.patch')
-rw-r--r--openwrt/package/fuse/patches/111-uclibc_changes.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/openwrt/package/fuse/patches/111-uclibc_changes.patch b/openwrt/package/fuse/patches/111-uclibc_changes.patch
new file mode 100644
index 0000000..6973075
--- /dev/null
+++ b/openwrt/package/fuse/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"
+