[24054] trunk/dports/fuse/ntfs-3g
source_changes at macosforge.org
source_changes at macosforge.org
Sun Apr 15 12:14:43 PDT 2007
Revision: 24054
http://trac.macosforge.org/projects/macports/changeset/24054
Author: eridius at macports.org
Date: 2007-04-15 12:14:43 -0700 (Sun, 15 Apr 2007)
Log Message:
-----------
Update ntfs-3g to 1.416
Modified Paths:
--------------
trunk/dports/fuse/ntfs-3g/Portfile
Added Paths:
-----------
trunk/dports/fuse/ntfs-3g/files/
trunk/dports/fuse/ntfs-3g/files/patch-configure
trunk/dports/fuse/ntfs-3g/files/patch-ntfs-3g.c
Modified: trunk/dports/fuse/ntfs-3g/Portfile
===================================================================
--- trunk/dports/fuse/ntfs-3g/Portfile 2007-04-15 19:01:47 UTC (rev 24053)
+++ trunk/dports/fuse/ntfs-3g/Portfile 2007-04-15 19:14:43 UTC (rev 24054)
@@ -3,7 +3,7 @@
PortSystem 1.0
name ntfs-3g
-version 1.0
+version 1.416
categories fuse
platforms darwin
maintainers eridius at macports.org
@@ -19,8 +19,8 @@
extract.suffix .tgz
master_sites $homepage
-checksums $distfiles md5 873a8de662849d129fc7c475ad3f5447 \
- sha1 e4cf952a17a3a9e3f1e53d09cb8dd544e5ecfd0f
+checksums $distfiles md5 5d513c5a747509165fcae38c20996755 \
+ sha1 43497d3785ece4c81b491256be5a105208993b3e
livecheck.check regex
livecheck.regex {<a href="ntfs-3g-(.+?)\.tgz">}
@@ -29,13 +29,14 @@
platform darwin {
depends_run port:fusefs
- patch_sites http://macfuse.googlecode.com/svn/tags/macfuse-0.2.2/filesystems/ntfs-3g/
- patchfiles ${name}-${version}.patch
- checksums-append ${name}-${version}.patch md5 9b9293e6d7f398375e46905c4e812999 \
- sha1 e74c4a74645377450646d94b5b0cbe0fcaa9a58d
+ # patch_sites http://macfuse.googlecode.com/svn/tags/macfuse-0.2.2/filesystems/ntfs-3g/
+ # patchfiles ${name}-${version}.patch
+ # checksums-append ${name}-${version}.patch md5 9b9293e6d7f398375e46905c4e812999 \
+ # sha1 e74c4a74645377450646d94b5b0cbe0fcaa9a58d
# override patch.pre_args since it defaults to -p0
- patch.pre_args -p1
+ # patch.pre_args -p1
+ patchfiles patch-configure patch-ntfs-3g.c
}
post-destroot {
Added: trunk/dports/fuse/ntfs-3g/files/patch-configure
===================================================================
--- trunk/dports/fuse/ntfs-3g/files/patch-configure (rev 0)
+++ trunk/dports/fuse/ntfs-3g/files/patch-configure 2007-04-15 19:14:43 UTC (rev 24054)
@@ -0,0 +1,11 @@
+--- configure.old 2007-04-15 15:09:45.000000000 -0400
++++ configure 2007-04-15 15:09:50.000000000 -0400
+@@ -19828,7 +19828,7 @@
+
+
+ case "$target_os" in
+-linux*)
++linux*|darwin*)
+
+ succeeded=no
+
Added: trunk/dports/fuse/ntfs-3g/files/patch-ntfs-3g.c
===================================================================
--- trunk/dports/fuse/ntfs-3g/files/patch-ntfs-3g.c (rev 0)
+++ trunk/dports/fuse/ntfs-3g/files/patch-ntfs-3g.c 2007-04-15 19:14:43 UTC (rev 24054)
@@ -0,0 +1,31 @@
+--- src/ntfs-3g.c.old 2007-04-15 15:13:04.000000000 -0400
++++ src/ntfs-3g.c 2007-04-15 15:12:17.000000000 -0400
+@@ -134,7 +134,11 @@
+ } opts;
+
+ static const char *EXEC_NAME = "ntfs-3g";
++#if (__FreeBSD__ >= 10)
++static char def_opts[] = "silent,nonempty,";
++#else
+ static char def_opts[] = "silent,allow_other,nonempty,";
++#endif
+ static ntfs_fuse_context_t *ctx;
+ static u32 ntfs_sequence;
+
+@@ -2124,12 +2128,16 @@
+ goto err_out;
+ }
+
++#if (__FreeBSD__ >= 10)
++ fstype = FSTYPE_FUSE;
++#else
+ #ifdef linux
+ fstype = get_fuse_fstype();
+ if (fstype == FSTYPE_NONE || fstype == FSTYPE_UNKNOWN)
+ fstype = load_fuse_module();
+ #endif
+ create_dev_fuse();
++#endif
+
+ if (stat(opts.device, &sbuf)) {
+ ntfs_log_perror("Failed to access '%s'", opts.device);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070415/01528e2d/attachment.html
More information about the macports-changes
mailing list