summaryrefslogtreecommitdiff
path: root/filesystems
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2025-06-05 13:05:39 +0300
committerGleb Popov <arrowd@FreeBSD.org>2025-06-17 08:45:20 +0300
commit8912a454d8ec84149d8dcfdb30f83b1dc7947fca (patch)
treea12ee30d8665fc8c9e8b411316eb1acbd095197b /filesystems
parentdevel/py-logbook: update to 1.8.2 (diff)
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
Diffstat (limited to 'filesystems')
-rw-r--r--filesystems/fusefs-libs3/Makefile1
-rw-r--r--filesystems/fusefs-libs3/files/patch-lib_mount__bsd.c10
2 files changed, 11 insertions, 0 deletions
diff --git a/filesystems/fusefs-libs3/Makefile b/filesystems/fusefs-libs3/Makefile
index c668b10eb317..83a65ed668be 100644
--- a/filesystems/fusefs-libs3/Makefile
+++ b/filesystems/fusefs-libs3/Makefile
@@ -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}
diff --git a/filesystems/fusefs-libs3/files/patch-lib_mount__bsd.c b/filesystems/fusefs-libs3/files/patch-lib_mount__bsd.c
new file mode 100644
index 000000000000..00f3ac5b294e
--- /dev/null
+++ b/filesystems/fusefs-libs3/files/patch-lib_mount__bsd.c
@@ -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);
+ }
+