Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jun 2020 08:44:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 246969] graphics/libdrm: fix build on GCC architectures
Message-ID:  <bug-246969-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246969

            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@FreeBSD.org
          Reporter: pkubaj@FreeBSD.org
          Assignee: x11@FreeBSD.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)

Created attachment 215215
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D215215&action=
=3Dedit
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246969-7788>