diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2007-02-28 21:34:39 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2007-02-28 21:34:39 +0000 |
commit | c97bf4739fa3de84557d167031163965a90e8122 (patch) | |
tree | 109430003e253549326f62eb69ebb8b0fc96bc83 /filesystems/fuse-ntfs-3g/patches/patch-ac | |
parent | 5b082f8e6ab3e7792c01da4eb2c0ff3ec5b720b0 (diff) | |
download | pkgsrc-c97bf4739fa3de84557d167031163965a90e8122.tar.gz |
Don't try to read /proc/filesystems or use modprobe on NetBSD.
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; |