[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246969
Bug ID: 246969
Summary: graphics/libdrm: fix build on GCC architectures
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: x11 at FreeBSD.org
Reporter: pkubaj at FreeBSD.org
Assignee: x11 at FreeBSD.org
Flags: maintainer-feedback?(x11 at FreeBSD.org)
Created attachment 215215
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=215215&action=edit
patch
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-x11
mailing list