[Bug 259949] x11-drivers/xf86-video-vmware is broken after libdrm-2.4.108

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 20 Nov 2021 15:35:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259949

            Bug ID: 259949
           Summary: x11-drivers/xf86-video-vmware is broken after
                    libdrm-2.4.108
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: fluffy@FreeBSD.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)
          Assignee: x11@FreeBSD.org

After update graphics/libdrm from 2.4.107 to 2.4.108 which introduce some
linuxism with Bool type redefinition, at least x11-drivers/xf86-video-vmware
fails to compile.

part of buildlog:

--- libvmwgfx_la-vmwgfx_saa.lo ---
In file included from vmwgfx_saa.c:34:
In file included from ./vmwgfx_saa.h:31:
In file included from ../saa/saa.h:43:
In file included from /usr/local/include/xorg/xf86.h:44:
In file included from /usr/local/include/xorg/xf86str.h:43:
/usr/local/include/xorg/xf86Opt.h:44:10: error: cannot combine with previous
'type-name' declaration specifier
    Bool bool;
         ^
/usr/include/stdbool.h:39:14: note: expanded from macro 'bool'
#define bool    _Bool
                ^
In file included from vmwgfx_saa.c:34:
In file included from ./vmwgfx_saa.h:31:
In file included from ../saa/saa.h:43:
In file included from /usr/local/include/xorg/xf86.h:44:
In file included from /usr/local/include/xorg/xf86str.h:43:
/usr/local/include/xorg/xf86Opt.h:44:5: warning: declaration does not declare
anything [-Wmissing-declarations]
    Bool bool;
    ^~~~~~~~~
1 warning and 1 error generated.

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