Compilation of Xorg fails in places where fontstruct.h is included because typedef of "pointer" was removed from Xorg. Also, compile fails in files such as DRI.c because ErrorF is not declared in any of the included header files. The affected files appear to be in hw/xfree86/parser and can be resolved by adding os.h as an include to xf86Parser.h.
I ran into this problem as well. To fix it, and be able to complete the build I had to change both X11/fonts/fontstruct.h and X11/fonts/fontproto.h. I simply replaced "pointer" with void *, as my workaround. I was trying to build Xserver, on gentoo using the x11 layman and the live ebuild which does a git of Xserver repo.
http://patchwork.freedesktop.org/patch/18241/
Old transient build failure, closing.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.