Source: libdrm
Version: 2.4.102-1
Severity: important
Tags: ftbfs, patch
User: debian-kbsd@lists.debian.org
Usertags: kfreebsd
Hello,
Currently libdrm FTBFS GNU/kFreeBSD (and GNU/Hurd) due to usage of
#elif __FreeBSD__ instead of #elif defined(__FreeBSD__) in xf86drm.c.
Attached is a patch to fix this: xf86drm.c.diff. For completeness all
entries of #ifdef __linux__ are also replaced by #if
defined(__linux__), and similar for ifdef __FreeBSD__. This patch is
enough to make libdrm build properly on kfreebsd-any.
Patches for Hurd together with fixes for PATH_MAX issues will be added
to bug report #909436.
Thanks!