summaryrefslogtreecommitdiff
path: root/filesystems/fuse-pod/patches/patch-aa
blob: 04916361f230029fbc80592e57612292fb0366af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-aa,v 1.2 2022/01/22 18:45:13 pho Exp $

NetBSD librefuse used to have a wrong prototype for init() in FUSE 2.5
API. Already fixed in HEAD.

--- src/fusepod.cpp.orig	2006-08-07 14:39:18.000000000 +0000
+++ src/fusepod.cpp
@@ -672,7 +672,11 @@ static vector<string> get_string_desc ()
     return paths;
 }
 
+#if defined(__NetBSD__) && FUSE_H_ < 20211204
+void * fusepod_init (fuse_conn_info *connection) {
+#else
 void * fusepod_init () {
+#endif
     syncing = false;
     syncing_file = "";