Build fails against xserver master branch headers
While attempting to add builds against the X server master branch to the CI for this driver, I saw this build failure:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include/libdrm -fvisibility=hidden -I/usr/local/xserver-master/include/xorg -I/usr/local/include -I/usr/local/include/X11/dri -I/usr/local/include -I/usr/include/pixman-1 -pipe -g -O2 -Werror -MT r600_exa.lo -MD -MP -MF .deps/r600_exa.Tpo -c r600_exa.c -fPIC -DPIC -o .libs/r600_exa.o
radeon_textured_video.c:761: error: "FOURCC_RGBA32" redefined [-Werror]
761 | #define FOURCC_RGBA32 0x41424752
|
In file included from radeon_textured_video.c:43:
/usr/local/xserver-master/include/xorg/fourcc.h:179: note: this is the location of the previous definition
179 | #define FOURCC_RGBA32 0x34325241
|
It appears the FOURCC_RGBA32
define that xf86-video-ati has been using for many years clashes with the one @uvas added to the xserver in xorg/xserver@15412e78.