pkgsrc/filesystems/fuse-ext2/patches/patch-af
tron 1e39952efe Import new "fuse-ext2" package:
Fuse-ext2 is a multi OS FUSE module to mount ext2 and ext3 file system
devices and/or images with read write support.

Please note that this file-system only works under NetBSD if the
"librefuse" library on your system contains this bug fix:
- http://mail-index.netbsd.org/source-changes/2011/07/09/msg024410.html
- http://releng.netbsd.org/cgi-bin/req-5.cgi?show=1648
2011-07-09 15:27:11 +00:00

20 lines
439 B
Text

$NetBSD: patch-af,v 1.1.1.1 2011/07/09 15:27:11 tron Exp $
Fix build under NetBSD.
--- fuse-ext2/fuse-ext2.c.orig 2009-11-09 15:28:02.000000000 +0000
+++ fuse-ext2/fuse-ext2.c 2011-07-09 12:52:23.000000000 +0100
@@ -78,6 +78,13 @@
return 0;
}
+#ifdef __NetBSD__
+static int fuse_version (void)
+{
+ return FUSE_VERSION;
+}
+#endif
+
static void usage (void)
{
printf(usage_msg, PACKAGE, VERSION, fuse_version(), PACKAGE, HOME);