Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 2026 16:07:10 +0000
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6a78f430d568 - main - deskutils/xdg-desktop-portal: Fix building on 16-CURRENT with renameat2(2)
Message-ID:  <69b1932e.3e66e.113b5867@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6a78f430d568eac7bba57a3979224918e086c78a

commit 6a78f430d568eac7bba57a3979224918e086c78a
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-03-11 16:06:11 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-03-11 16:07:04 +0000

    deskutils/xdg-desktop-portal: Fix building on 16-CURRENT with renameat2(2)
    
    Reported by:    pkg-fallout
---
 .../patch-document-portal_document-portal-fuse.c    | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

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..d5cc842cec19
--- /dev/null
+++ b/deskutils/xdg-desktop-portal/files/patch-document-portal_document-portal-fuse.c
@@ -0,0 +1,21 @@
+--- document-portal/document-portal-fuse.c.orig	2025-05-20 17:07:14 UTC
++++ document-portal/document-portal-fuse.c
+@@ -429,14 +429,18 @@ renameat2_flags_to_string (int flags)
+ #if HAVE_RENAMEAT2
+   GString *s = g_string_new ("");
+ 
++#ifdef RENAME_EXCHANGE
+   if (flags & RENAME_EXCHANGE)
+     g_string_append (s, "EXCHANGE,");
++#endif
+ 
+   if (flags & RENAME_NOREPLACE)
+     g_string_append (s, "NOREPLACE,");
+ 
++#ifdef RENAME_WHITEOUT
+   if (flags & RENAME_WHITEOUT)
+     g_string_append (s, "WHITEOUT,");
++#endif
+ 
+   /* Remove last comma */
+   if (s->len > 0)


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b1932e.3e66e.113b5867>