filesystems/fusefs-libs3: Add patch fixing race when mounting via library call

Reviewed by:	asomers
Approved by:	se (maintainer)
PR:		https://github.com/freebsd/freebsd-ports/pull/408
Upstream PR:	https://github.com/libfuse/libfuse/pull/1240
This commit is contained in:
Gleb Popov
2025-06-05 13:05:39 +03:00
parent 3733d36300
commit 8912a454d8
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -1,5 +1,6 @@
PORTNAME= fusefs-libs3
DISTVERSION= 3.17.1
PORTREVISION= 1
CATEGORIES= filesystems sysutils
MASTER_SITES= https://github.com/libfuse/libfuse/releases/download/fuse-${DISTVERSION}/
DISTNAME= fuse-${DISTVERSION}
@@ -0,0 +1,10 @@
--- lib/mount_bsd.c.orig 2025-03-24 12:25:30 UTC
+++ lib/mount_bsd.c
@@ -214,6 +214,7 @@ mount:
_exit(EXIT_FAILURE);
}
+ waitpid(pid, &status, 0);
_exit(EXIT_SUCCESS);
}