diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2007-09-08 05:10:39 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2007-09-08 05:10:39 +0000 |
commit | cafed55fb75eeba051a1b65c0e1347809eb71269 (patch) | |
tree | 27a80b5bf8098db181ec8e8081fd349df673a4d5 /sysutils/mtpfs/files/patch-mtpfs.h | |
parent | Add port mail/rss2email: (diff) |
New port: sysutils/mtpfs MTP device filesystem
MTPFS is a FUSE filesystem that supports reading aand writing
from any MTP device (as supported by libmtp)
WWW: http://www.adebenham.com/mtpfs/
Notes
Notes:
svn path=/head/; revision=199075
Diffstat (limited to 'sysutils/mtpfs/files/patch-mtpfs.h')
-rw-r--r-- | sysutils/mtpfs/files/patch-mtpfs.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/mtpfs/files/patch-mtpfs.h b/sysutils/mtpfs/files/patch-mtpfs.h new file mode 100644 index 000000000000..e70bdacce00d --- /dev/null +++ b/sysutils/mtpfs/files/patch-mtpfs.h @@ -0,0 +1,22 @@ +--- mtpfs.h.orig Sun Jul 1 11:45:49 2007 ++++ mtpfs.h Sun Jul 1 11:46:22 2007 +@@ -18,7 +18,9 @@ + #include <fcntl.h> + #include <dirent.h> + #include <errno.h> +-#include <sys/statfs.h> ++#include <sys/param.h> ++#include <sys/mount.h> ++#include <sys/statvfs.h> + + #include <libmtp.h> + #include <glib.h> +@@ -48,7 +50,7 @@ + static int mtpfs_unlink (const gchar * path); + static int mtpfs_mkdir (const char *path, mode_t mode); + static int mtpfs_rmdir (const char *path); +-static int mtpfs_statfs (const char *path, struct statfs *stbuf); ++static int mtpfs_statfs (const char *path, struct statvfs *stbuf); + + + static LIBMTP_mtpdevice_t *device; |