Skip to content

meson: GNU/kFreeBSD has DRM/KMS and requires -D_GNU_SOURCE

Jessica Clarke requested to merge jrtc27/mesa:kfreebsd into master

This is a regression from the old autotools build system.

Full GNU/kFreeBSD support is blocked on fixing drm.h, and then it dies late in the build because libsync.h wants ETIME which does not exist on plain FreeBSD nor on GNU/FreeBSD and this is only patched downstream. Nonetheless, this merge request gets mesa itself ready for when these are fixed, as it builds successfully if I also patch those files.

Edited by Jessica Clarke

Merge request reports