diff options
Diffstat (limited to 'filesystems/fuse-ntfs-3g/patches/patch-ac')
-rw-r--r-- | filesystems/fuse-ntfs-3g/patches/patch-ac | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/filesystems/fuse-ntfs-3g/patches/patch-ac b/filesystems/fuse-ntfs-3g/patches/patch-ac new file mode 100644 index 00000000000..ffb0f972b3a --- /dev/null +++ b/filesystems/fuse-ntfs-3g/patches/patch-ac @@ -0,0 +1,20 @@ +$NetBSD: patch-ac,v 1.1 2007/02/28 21:34:39 xtraeme Exp $ + +--- src/ntfs-3g.c.orig 2007-02-28 22:33:03.000000000 +0100 ++++ src/ntfs-3g.c 2007-02-28 22:33:32.000000000 +0100 +@@ -2116,13 +2116,13 @@ + ntfs_log_perror("Failed to set user ID to %d", euid); + goto err_out; + } +- ++#ifndef __NetBSD__ + fstype = get_fuse_fstype(); + if (fstype == FSTYPE_NONE || fstype == FSTYPE_UNKNOWN) + fstype = load_fuse_module(); + + create_dev_fuse(); +- ++#endif + if (stat(opts.device, &sbuf)) { + ntfs_log_perror("Failed to access '%s'", opts.device); + goto err_out; |