summaryrefslogtreecommitdiff
path: root/sysutils/mtpfs/files/patch-mtpfs.h
diff options
context:
space:
mode:
authorJohn Hixson <jhixson@FreeBSD.org>2020-07-02 17:38:07 +0000
committerJohn Hixson <jhixson@FreeBSD.org>2020-07-02 17:38:07 +0000
commitdbc5577117accb7f0b4f3e667c2ca79ff2672236 (patch)
treeed169e225723f7689121f06b9ce8686f73e1c819 /sysutils/mtpfs/files/patch-mtpfs.h
parentwww/uwebsocket: Update 18.8.0 -> 18.9.0 (diff)
sysutils/mtpfs: update to use github
PR: 200078 Reported by: jensh604@gmail.com
Notes
Notes: svn path=/head/; revision=541051
Diffstat (limited to 'sysutils/mtpfs/files/patch-mtpfs.h')
-rw-r--r--sysutils/mtpfs/files/patch-mtpfs.h24
1 files changed, 2 insertions, 22 deletions
diff --git a/sysutils/mtpfs/files/patch-mtpfs.h b/sysutils/mtpfs/files/patch-mtpfs.h
index ac1cd9323d2e..92ca2ae91cda 100644
--- a/sysutils/mtpfs/files/patch-mtpfs.h
+++ b/sysutils/mtpfs/files/patch-mtpfs.h
@@ -1,31 +1,11 @@
---- mtpfs.h.orig 2012-02-24 04:37:14 UTC
+--- mtpfs.h.orig 2016-12-15 23:55:52 UTC
+++ mtpfs.h
-@@ -18,7 +18,9 @@
+@@ -17,7 +17,7 @@
#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>
-@@ -49,7 +51,7 @@ static int find_storage(const gchar * pa
-
-
- /* fuse functions */
--static void * mtpfs_init (void);
-+static void * mtpfs_init (struct fuse_conn_info *);
- static int mtpfs_blank ();
- static int mtpfs_release (const char *path, struct fuse_file_info *fi);
- void mtpfs_destroy ();
-@@ -62,7 +64,7 @@ static int mtpfs_write (const gchar * pa
- 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;