git: 2b833cb3af85 - 2026Q4 - deskutils/xdg-desktop-portal: Fix xdg-document-portal startup

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Thu, 03 Dec 2026 11:53:13 UTC
The branch 2026Q4 has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2b833cb3af85f101513a60a22b69ed28b43ee9a3

commit 2b833cb3af85f101513a60a22b69ed28b43ee9a3
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-12-03 11:51:05 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-12-03 11:52:24 +0000

    deskutils/xdg-desktop-portal: Fix xdg-document-portal startup
    
    PR:             300112
    (cherry picked from commit 140f6fc3afd79c77ee124badf8327cb6b0afb65e)
---
 deskutils/xdg-desktop-portal/Makefile                        |  2 +-
 .../files/patch-document-portal_document-portal-fuse.c       | 12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/deskutils/xdg-desktop-portal/Makefile b/deskutils/xdg-desktop-portal/Makefile
index 8cac64834aae..2a846ce97494 100644
--- a/deskutils/xdg-desktop-portal/Makefile
+++ b/deskutils/xdg-desktop-portal/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xdg-desktop-portal
 DISTVERSION=	1.22.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	deskutils
 
 MAINTAINER=	arrowd@FreeBSD.org
diff --git a/deskutils/xdg-desktop-portal/files/patch-document-portal_document-portal-fuse.c b/deskutils/xdg-desktop-portal/files/patch-document-portal_document-portal-fuse.c
new file mode 100644
index 000000000000..4e7f1fa45e85
--- /dev/null
+++ b/deskutils/xdg-desktop-portal/files/patch-document-portal_document-portal-fuse.c
@@ -0,0 +1,12 @@
+--- document-portal/document-portal-fuse.c.orig	2026-06-17 16:46:28 UTC
++++ document-portal/document-portal-fuse.c
+@@ -3430,9 +3430,6 @@ xdp_fuse_init_cb (void                  *userdata,
+ 
+   g_debug ("INIT");
+ 
+-  /* atomic_o_trunc: We handle O_TRUNC in create() */
+-  conn->want |= FUSE_CAP_ATOMIC_O_TRUNC;
+-
+   if (fuse_opts->use_splice)
+     {
+       /* splice_read: use splice() to read from fuse pipe */