From ad41bd4494a9aa3860d0e244b16342a3372911f1 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Wed, 28 Feb 2007 21:34:39 +0000 Subject: Don't try to read /proc/filesystems or use modprobe on NetBSD. --- filesystems/fuse-ntfs-3g/distinfo | 3 ++- filesystems/fuse-ntfs-3g/patches/patch-ac | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 filesystems/fuse-ntfs-3g/patches/patch-ac (limited to 'filesystems/fuse-ntfs-3g') diff --git a/filesystems/fuse-ntfs-3g/distinfo b/filesystems/fuse-ntfs-3g/distinfo index d98f238e287..f85314c4f5c 100644 --- a/filesystems/fuse-ntfs-3g/distinfo +++ b/filesystems/fuse-ntfs-3g/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.1.1.1 2007/02/26 19:55:28 pooka Exp $ +$NetBSD: distinfo,v 1.2 2007/02/28 21:34:39 xtraeme Exp $ SHA1 (ntfs-3g-1.0.tgz) = e4cf952a17a3a9e3f1e53d09cb8dd544e5ecfd0f RMD160 (ntfs-3g-1.0.tgz) = 4460101eea3b36b2faf8c79863b6590cbb1de4ab Size (ntfs-3g-1.0.tgz) = 562452 bytes SHA1 (patch-aa) = 51e3674e70dcd967f184ff8ccb34f040e98fb70f SHA1 (patch-ab) = 9bfd8e206df71b4cb72a96badb3553a7717802b9 +SHA1 (patch-ac) = 61fece4e78bfcc7435a1b2f6f096d6198bb230c2 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; -- cgit v1.2.3