x11-drivers/xf86-video-mach64-6.9.3 does not compile against xorg-server-1.13, I don't know if it correctly works with these patches. I used these patches from fedora xorg-x11-drv-mach64-6.9.3-6 package. Reproducible: Always
Created attachment 329986 [details, diff] 0001-mach64-fix-build-on-32-bit.patch
Created attachment 329988 [details, diff] mach64-6.8.1-defaultdepth.patch
Created attachment 329990 [details, diff] mach64-6.9.3-fix-no-exa-build.patch
Created attachment 329992 [details, diff] mach64-6.9.3-shadowfb.patch
I confirm the problem occurs with x86 arch. x11-drivers/xf86-video-mach64-6.9.3 does not compile against xorg-server-1.13 and I had to revert to x11-base/xorg-server-1.12.4 to be able to merge x11-drivers/xf86-video-mach64-6.9.3. I have not tried the patches posted in this bug report.
OK - I can confirm this -> same error happend on my box ! CC atipreinit.lo CC atiprint.lo /var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atipreinit.c: In function 'ATIPreInit': /var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atipreinit.c:2341:25: warning: assignment discards qualifiers from pointer target type /var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atipreinit.c:2510:30: warning: assignment discards qualifiers from pointer target type CC atirgb514.lo CC atiscreen.lo CC atituner.lo /var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atiscreen.c: In function 'ATIScreenInit': /var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atiscreen.c:583:9: error: too many arguments to function 'ATISwitchMode' /var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/aticonsole.h:36:13: note: declared here /var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atiscreen.c: At top level: /var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atiscreen.c:111:1: warning: 'ATIMinBits' defined but not used make[2]: *** [atiscreen.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3_build/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3_build' make: *** [all] Error 2
Fixed in 6.9.4