Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Apr 2021 14:17:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 254919] x11/libxkbcommon: fix xkbcli interactive-wayland when posix_fallocate() isn't supported by fs
Message-ID:  <bug-254919-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254919

            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@FreeBSD.org
          Reporter: 2khramtsov@gmail.com
             Flags: maintainer-feedback?(x11@FreeBSD.org)
          Assignee: x11@FreeBSD.org

Created attachment 223946
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D223946&action=
=3Dedit
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-comp=
atibility.c#L168-178

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254919-7788>