diff options
author | Chin-San Huang <chinsan@FreeBSD.org> | 2009-01-24 14:27:01 +0000 |
---|---|---|
committer | Chin-San Huang <chinsan@FreeBSD.org> | 2009-01-24 14:27:01 +0000 |
commit | da286aa686ccbf14f1b3130617bda73d3a5247ed (patch) | |
tree | 790068232b69e9efe11412add90c740f2019287d /sysutils/mtpfs | |
parent | 4d76c93da7dc0d7359858a1f4b18dc401edaf538 (diff) | |
download | ports-da286aa686ccbf14f1b3130617bda73d3a5247ed.tar.gz ports-da286aa686ccbf14f1b3130617bda73d3a5247ed.zip |
Notes
Diffstat (limited to 'sysutils/mtpfs')
-rw-r--r-- | sysutils/mtpfs/files/patch-mtpfs.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sysutils/mtpfs/files/patch-mtpfs.h b/sysutils/mtpfs/files/patch-mtpfs.h index e70bdacce00d..422f68842e15 100644 --- a/sysutils/mtpfs/files/patch-mtpfs.h +++ b/sysutils/mtpfs/files/patch-mtpfs.h @@ -1,22 +1,23 @@ ---- mtpfs.h.orig Sun Jul 1 11:45:49 2007 -+++ mtpfs.h Sun Jul 1 11:46:22 2007 -@@ -18,7 +18,9 @@ +--- mtpfs.h.orig 2009-01-04 03:03:56.000000000 +0800 ++++ mtpfs.h 2009-01-04 03:05:16.000000000 +0800 +@@ -18,8 +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 @@ + #include <id3tag.h> +@@ -49,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); + int calc_length(int f); - static LIBMTP_mtpdevice_t *device; |