FreeBSD Bugzilla – Attachment 79940 Details for
Bug 114762
New port: sysutils/mtpfs MTP device filesystem
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
mtpfs.shar
mtpfs.shar (text/plain), 3.48 KB, created by
John Hixson
on 2007-07-20 08:50:01 UTC
(
hide
)
Description:
mtpfs.shar
Filename:
MIME Type:
Creator:
John Hixson
Created:
2007-07-20 08:50:01 UTC
Size:
3.48 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># mtpfs ># mtpfs/Makefile ># mtpfs/pkg-descr ># mtpfs/distinfo ># mtpfs/files ># mtpfs/files/patch-Makefile.in ># mtpfs/files/patch-mtpfs.h ># mtpfs/files/patch-mtpfs.c ># >echo c - mtpfs >mkdir -p mtpfs > /dev/null 2>&1 >echo x - mtpfs/Makefile >sed 's/^X//' >mtpfs/Makefile << 'END-of-mtpfs/Makefile' >X# New ports collection makefile for: mtpfs >X# Date created: 1 July 2007 >X# Whom: John Hixson <john@divinix.org> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= mtpfs >XPORTVERSION= 0.6 >XCATEGORIES= sysutils >XMASTER_SITES= http://www.adebenham.com/mtpfs/ >X >XMAINTAINER= john@pcbsd.org >XCOMMENT= MTP device filesystem >X >XRUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod >XLIB_DEPENDS= mtp:${PORTSDIR}/audio/libmtp \ >X fuse:${PORTSDIR}/sysutils/fusefs-libs \ >X id3-3.8:${PORTSDIR}/audio/id3lib >X >XGNU_CONFIGURE= yes >XPLIST_FILES= bin/mtpfs >X >X.include <bsd.port.mk> >END-of-mtpfs/Makefile >echo x - mtpfs/pkg-descr >sed 's/^X//' >mtpfs/pkg-descr << 'END-of-mtpfs/pkg-descr' >XMTPFS is a FUSE filesystem that supports reading aand writing from any >XMTP device (as supported by libmtp) >X >XWWW: http://www.adebenham.com/mtpfs/ >END-of-mtpfs/pkg-descr >echo x - mtpfs/distinfo >sed 's/^X//' >mtpfs/distinfo << 'END-of-mtpfs/distinfo' >XMD5 (mtpfs-0.6.tar.gz) = d81202b04b621334952d42527ee1c8e7 >XSHA256 (mtpfs-0.6.tar.gz) = be5245d779aaa8dbec6844ae3f62dfa236957c3444607f7387528ad5125a61a3 >XSIZE (mtpfs-0.6.tar.gz) = 91014 >END-of-mtpfs/distinfo >echo c - mtpfs/files >mkdir -p mtpfs/files > /dev/null 2>&1 >echo x - mtpfs/files/patch-Makefile.in >sed 's/^X//' >mtpfs/files/patch-Makefile.in << 'END-of-mtpfs/files/patch-Makefile.in' >X--- Makefile.in.orig Sun Jul 1 11:45:44 2007 >X+++ Makefile.in Sun Jul 1 11:46:00 2007 >X@@ -157,7 +157,7 @@ >X top_builddir = @top_builddir@ >X top_srcdir = @top_srcdir@ >X mtpfs_SOURCES = id3read.c mtpfs.c mtpfs.h id3read.h >X-mtpfs_CPPFLAGS = -DFUSE_USE_VERSION=22 $(FUSE_CFLAGS) >X+mtpfs_CPPFLAGS = -DFUSE_USE_VERSION=25 $(FUSE_CFLAGS) >X mtpfs_LDADD = $(FUSE_LIBS) >X all: all-am >X >END-of-mtpfs/files/patch-Makefile.in >echo x - mtpfs/files/patch-mtpfs.h >sed 's/^X//' >mtpfs/files/patch-mtpfs.h << 'END-of-mtpfs/files/patch-mtpfs.h' >X--- mtpfs.h.orig Sun Jul 1 11:45:49 2007 >X+++ mtpfs.h Sun Jul 1 11:46:22 2007 >X@@ -18,7 +18,9 @@ >X #include <fcntl.h> >X #include <dirent.h> >X #include <errno.h> >X-#include <sys/statfs.h> >X+#include <sys/param.h> >X+#include <sys/mount.h> >X+#include <sys/statvfs.h> >X >X #include <libmtp.h> >X #include <glib.h> >X@@ -48,7 +50,7 @@ >X static int mtpfs_unlink (const gchar * path); >X static int mtpfs_mkdir (const char *path, mode_t mode); >X static int mtpfs_rmdir (const char *path); >X-static int mtpfs_statfs (const char *path, struct statfs *stbuf); >X+static int mtpfs_statfs (const char *path, struct statvfs *stbuf); >X >X >X static LIBMTP_mtpdevice_t *device; >END-of-mtpfs/files/patch-mtpfs.h >echo x - mtpfs/files/patch-mtpfs.c >sed 's/^X//' >mtpfs/files/patch-mtpfs.c << 'END-of-mtpfs/files/patch-mtpfs.c' >X--- mtpfs.c.orig Sun Jul 1 11:45:55 2007 >X+++ mtpfs.c Sun Jul 1 11:46:30 2007 >X@@ -921,7 +921,7 @@ >X */ >X >X static int >X-mtpfs_statfs (const char *path, struct statfs *stbuf) >X+mtpfs_statfs (const char *path, struct statvfs *stbuf) >X { >X if (DEBUG) g_debug ("mtpfs_statfs"); >X stbuf->f_bsize=1024; >END-of-mtpfs/files/patch-mtpfs.c >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 114762
: 79940