summaryrefslogtreecommitdiff
path: root/filesystems/fuse-ext2/patches/patch-ag
blob: d95afba88406dde557d3f5f23f2b4cf63f7dd719 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ag,v 1.1.1.1 2011/07/09 15:27:11 tron Exp $

Fix build under NetBSD.

--- fuse-ext2/fuse-ext2.probe.c.orig	2009-11-03 13:50:57.000000000 +0000
+++ fuse-ext2/fuse-ext2.probe.c	2011-07-09 14:05:33.000000000 +0100
@@ -35,6 +35,13 @@
 "%s\n"
 "\n";
 
+#ifdef __NetBSD__
+static int fuse_version (void)
+{
+	return FUSE_VERSION;
+}
+#endif
+
 static void usage (void)
 {
 	printf(usage_msg, PACKAGE, VERSION, fuse_version(), PACKAGE, HOME);