[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#970304: libdrm: FTBFS on kfreebsd-any



On 14.9.2020 16.53, Svante Signell wrote:
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!


This is supposed to be fixed by c7d89412884de2dbfa543720d185027377e62f21 in 2.4.103, but it only touched the parts where it failed so I'll go with that and not patch the rest, as it would just cause rebase issues later on.


--
t


Reply to: