maintainer-feedback requested: [Bug 246969] graphics/libdrm: fix build on GCC architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 4 08:44:26 UTC 2020


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-x11 mailing list
<x11 at FreeBSD.org> for maintainer-feedback:
Bug 246969: graphics/libdrm: fix build on GCC architectures
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246969



--- Description ---
sys/types.h needs to be included for u_int.

Error:
In file included from ../xf86drmMode.c:46:
/usr/include/sys/sysctl.h:1101: error: expected declaration specifiers or '...'
before 'u_int'
../xf86drmMode.c: In function 'drmModeRevokeLease':
../xf86drmMode.c:1578: warning: declaration of 'revoke' shadows a global
declaration

Happens when building with GCC.


More information about the freebsd-x11 mailing list