Bug 239630

Summary: x11/libxshmfence: prefer SHM_ANON over mksotemp()
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: freebsd-x11 mailing list <x11>
Status: New ---    
Severity: Affects Only Me CC: x11
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (x11)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
v1 (has commit message) jbeich: maintainer-approval? (x11)

Description Jan Beich freebsd_committer 2019-08-03 21:30:03 UTC
Created attachment 206257 [details]
v1 (has commit message)

SHM_ANON is faster and more similar to memfd_create(). Not bothering to upstream because futex/mksotemp fixes didn't get any feedback after 2 years. Patchwork is complete crap for one-off contributors i.e., those humble enough to not annoy everyone on patch maillist why their contribution wasn't reviewed yet.

libxshmfence is only used by DRI3, so make sure to define LIBGL_DRI3_ENABLE via environ(7) due to drm-legacy-kmod hacks in mesa-dri and if using xf86-video-intel add Option "DRI" "3" to xorg.conf.
Comment 1 Jan Beich freebsd_committer 2019-08-03 21:57:54 UTC
Sorry the rant. I've missed upstream move to GitLab.
https://gitlab.freedesktop.org/xorg/lib/libxshmfence/merge_requests/1