There is a typo in i386_video.c that breaks the build if I passed --enable-debug to configure. It is a simple fix and the software builds after it is applied.
At line 606 of hw/xfree86/os-support/bsd/i386_video.c, the variable "mrd" was accidentally typed as "rd" (leaving the 'm' off of its name). There is no variable 'rd' declared, so the compiler chokes.
This probably applies to i386 as well as amd64, but I am only using the latter.
Created attachment 12360 [details] [review]
Diff to hw/xfree86/os-support/bsd/i386_video.c to fix breakage
You must apply this patch within the hw/xfree86/os-support/bsd directory of the xorg-server distribution. I inspected the current xorg-server head on gitweb today and the problem appears to be present.
Patch committed to git master - thanks for submitting it.
Author: Coleman Kane <firstname.lastname@example.org>
Date: Tue Jan 29 09:47:00 2008 -0800
Bug 13101: xorg-server has a typo in hw/xfree86/os-support/bsd/i386_video.c