svn commit: r399607 - in head/sysutils/fusefs-ntfs: . files
Kurt Jaeger
pi at FreeBSD.org
Sun Oct 18 08:50:00 UTC 2015
Author: pi
Date: Sun Oct 18 08:49:58 2015
New Revision: 399607
URL: https://svnweb.freebsd.org/changeset/ports/399607
Log:
sysutils/fusefs-ntfs: patch mkntfs to not check for block devices
PR: 197301
Submitted by: darius at dons.net.au
Added:
head/sysutils/fusefs-ntfs/files/patch-ntfsprogs_mkntfs.c (contents, props changed)
Modified:
head/sysutils/fusefs-ntfs/Makefile
Modified: head/sysutils/fusefs-ntfs/Makefile
==============================================================================
--- head/sysutils/fusefs-ntfs/Makefile Sun Oct 18 08:20:07 2015 (r399606)
+++ head/sysutils/fusefs-ntfs/Makefile Sun Oct 18 08:49:58 2015 (r399607)
@@ -3,7 +3,7 @@
PORTNAME= ntfs
PORTVERSION= 2015.3.14
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://tuxera.com/opensource/
PKGNAMEPREFIX= fusefs-
Added: head/sysutils/fusefs-ntfs/files/patch-ntfsprogs_mkntfs.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/fusefs-ntfs/files/patch-ntfsprogs_mkntfs.c Sun Oct 18 08:49:58 2015 (r399607)
@@ -0,0 +1,18 @@
+--- ntfsprogs/mkntfs.c.orig 2015-03-14 14:10:12 UTC
++++ ntfsprogs/mkntfs.c
+@@ -3488,6 +3488,7 @@ static BOOL mkntfs_open_partition(ntfs_v
+ goto done;
+ }
+
++#ifndef __FreeBSD__
+ if (!S_ISBLK(sbuf.st_mode)) {
+ ntfs_log_error("%s is not a block device.\n", vol->dev->d_name);
+ if (!opts.force) {
+@@ -3526,6 +3527,7 @@ static BOOL mkntfs_open_partition(ntfs_v
+ ntfs_log_warning("mkntfs forced anyway.\n");
+ #endif
+ }
++#endif
+ /* Make sure the file system is not mounted. */
+ if (ntfs_check_if_mounted(vol->dev->d_name, &mnt_flags)) {
+ ntfs_log_perror("Failed to determine whether %s is mounted", vol->dev->d_name);
More information about the svn-ports-all
mailing list