[Bug 254919] x11/libxkbcommon: fix xkbcli interactive-wayland when posix_fallocate() isn't supported by fs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 9 14:17:57 UTC 2021


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

            Bug ID: 254919
           Summary: x11/libxkbcommon: fix xkbcli interactive-wayland when
                    posix_fallocate() isn't supported by fs
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11 at FreeBSD.org
          Reporter: 2khramtsov at gmail.com
             Flags: maintainer-feedback?(x11 at FreeBSD.org)
          Assignee: x11 at FreeBSD.org

Created attachment 223946
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223946&action=edit
patch

XDG_RUNTIME_DIR may be pointed to a filesystem that doesn't support
posix_fallocate() (e.g. ZFS). Running the xkbcli interactive-wayland keymap
test then fails. The following patch fixes this use case. I plan to send it
upstream this week.

Reviewed by: jbeich@, zeising@ (via Gitter)
Inspired by:
https://gitlab.freedesktop.org/wayland/wayland/-/blob/1.19.0/cursor/os-compatibility.c#L168-178

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


More information about the freebsd-ports-bugs mailing list