Created attachment 228553 [details] graphics/qt5-wayland/files/patch-memfd-fbsd13 Port works fine without it, but it creates temporary files in XDG_RUNTIME_DIR instead.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=fc9d9b0c38a1296a7d6cc7675412128a224659ae commit fc9d9b0c38a1296a7d6cc7675412128a224659ae Author: Adriaan de Groot <adridg@FreeBSD.org> AuthorDate: 2022-08-17 23:43:24 +0000 Commit: Adriaan de Groot <adridg@FreeBSD.org> CommitDate: 2022-08-18 08:23:58 +0000 graphics/qt5-wayland: use memfd_create() on 13+ On 13+, the memfd_create() syscall can create anonymous shared- memory areas that behaves like a file. This is used upstream (not in Qt, but in KDE) when possible. Use it when relevant, since it avoids creating temporary files. While here, freshen-up the other patches. PR: 259035 graphics/qt5-wayland/Makefile | 1 + graphics/qt5-wayland/files/patch-qtwayland.pro | 4 ++-- .../files/patch-src_client_qwaylandshmbackingstore.cpp (new) | 11 +++++++++++ ...egration_compositor_linux-dmabuf-unstable-v1_linuxdmabuf.h | 4 ++-- 4 files changed, 16 insertions(+), 4 deletions(-)