[Bug 259035] graphics/qt5-wayland: Enable memfd_create() usage

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 18 09:25:02 BST 2022


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259035

--- Comment #1 from commit-hook at FreeBSD.org ---
A commit in branch main references this bug:

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

commit fc9d9b0c38a1296a7d6cc7675412128a224659ae
Author:     Adriaan de Groot <adridg at FreeBSD.org>
AuthorDate: 2022-08-17 23:43:24 +0000
Commit:     Adriaan de Groot <adridg at 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(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list