Fix build with xorg-server 21.1
Hi,
This driver stopped compiling with xorg-server 21.1, because bool was renamed to boolean in OptionInfoRec. This MR simply renames bool to boolean where appropriate, to make it compile.
Merge request reports
Activity
mentioned in merge request !5 (merged)
@jpoiret Could you rebase your branch against master?
Would be nice to get this patch merged as the driver is still used in Debian for older PowerPC hardware.
added 3 commits
-
04b72617...82129368 - 2 commits from branch
xorg/driver:master
- 3ab2c144 - Rename bool to boolean for OptionInfoRec.
-
04b72617...82129368 - 2 commits from branch
Doing this unconditionally breaks builds against Xorg 1.20 and earlier - it looks like we can fix that with something like
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 25 # define boolean bool #endif
Or do we just want to say that new driver releases no longer support the old server releases? (In which case there's a lot of dead code we can clean out.)