aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorriggs <riggs@FreeBSD.org>2015-01-04 00:56:18 +0800
committerriggs <riggs@FreeBSD.org>2015-01-04 00:56:18 +0800
commit53fca03f2d5c441718623fc1f92738b5727411d5 (patch)
treef0594274a84e2e7b5f2749150af9e29c3e4e4dcd /comms
parent1e9d0e4bb6088c42a8e40dd3528a5380bf58908b (diff)
downloadfreebsd-ports-gnome-53fca03f2d5c441718623fc1f92738b5727411d5.tar.gz
freebsd-ports-gnome-53fca03f2d5c441718623fc1f92738b5727411d5.tar.zst
freebsd-ports-gnome-53fca03f2d5c441718623fc1f92738b5727411d5.zip
Fix build with non-default OPTION owfs
PR: 196421 Submitted by: osidorkin@gmail.com Approved by: johan@stromnet.se (maintainer) MFH: 2015Q1
Diffstat (limited to 'comms')
-rw-r--r--comms/owfs/files/patch-module_owfs_src_c_owfs.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/owfs/files/patch-module_owfs_src_c_owfs.c b/comms/owfs/files/patch-module_owfs_src_c_owfs.c
new file mode 100644
index 000000000000..349063226e06
--- /dev/null
+++ b/comms/owfs/files/patch-module_owfs_src_c_owfs.c
@@ -0,0 +1,11 @@
+--- module/owfs/src/c/owfs.c.orig 2014-10-11 03:23:18.000000000 +0400
++++ module/owfs/src/c/owfs.c 2014-12-30 19:53:53.000000000 +0300
+@@ -129,7 +129,7 @@
+
+ // Unmount just in case
+ // No checks -- can fail without consequences
+- umount( Outbound_Control.head->name ) ;
++ unmount( Outbound_Control.head->name, 0) ;
+
+ Fuse_parse(fuse_mnt_opt, &fuse_options);
+ LEVEL_DEBUG("fuse_mnt_opt=[%s]", fuse_mnt_opt);