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 | |
parent | 99713a8019037519529a7430c0505429746eb7c8 (diff) |
Notes
Diffstat (limited to 'sysutils/mtpfs/files')
-rw-r--r-- | sysutils/mtpfs/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | sysutils/mtpfs/files/patch-mtpfs.c | 11 | ||||
-rw-r--r-- | sysutils/mtpfs/files/patch-mtpfs.h | 22 |
3 files changed, 44 insertions, 0 deletions
diff --git a/sysutils/mtpfs/files/patch-Makefile.in b/sysutils/mtpfs/files/patch-Makefile.in new file mode 100644 index 000000000000..ffcbcc12d024 --- /dev/null +++ b/sysutils/mtpfs/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Sun Jul 1 11:45:44 2007 ++++ Makefile.in Sun Jul 1 11:46:00 2007 +@@ -157,7 +157,7 @@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + mtpfs_SOURCES = id3read.c mtpfs.c mtpfs.h id3read.h +-mtpfs_CPPFLAGS = -DFUSE_USE_VERSION=22 $(FUSE_CFLAGS) ++mtpfs_CPPFLAGS = -DFUSE_USE_VERSION=25 $(FUSE_CFLAGS) + mtpfs_LDADD = $(FUSE_LIBS) + all: all-am + diff --git a/sysutils/mtpfs/files/patch-mtpfs.c b/sysutils/mtpfs/files/patch-mtpfs.c new file mode 100644 index 000000000000..10420708ddef --- /dev/null +++ b/sysutils/mtpfs/files/patch-mtpfs.c @@ -0,0 +1,11 @@ +--- mtpfs.c.orig Sun Jul 1 11:45:55 2007 ++++ mtpfs.c Sun Jul 1 11:46:30 2007 +@@ -921,7 +921,7 @@ + */ + + static int +-mtpfs_statfs (const char *path, struct statfs *stbuf) ++mtpfs_statfs (const char *path, struct statvfs *stbuf) + { + if (DEBUG) g_debug ("mtpfs_statfs"); + stbuf->f_bsize=1024; 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; |