On the off-chance that this hasn't already been spotted, here is a patch to make xc/programs/Xserver/hw/tinyx/linux/agp.c compile after xfree86/os-support/linux/agpgart.h was retired in favour of the system version.
Index: xc/programs/Xserver/hw/tinyx/linux/agp.c =================================================================== RCS file: /home/CVS/XFree86/xc/programs/Xserver/hw/tinyx/linux/agp.c,v retrieving revision 1.2 diff -r1.2 agp.c 111c111 < #include "../../xfree86/os-support/linux/agpgart.h" --- > #include <linux/agpgart.h>