Patching xorg-server- to work on gentoo/freebsd

While compiling xorg-server on gentoo/freebsd, I was getting an error. So, I paid a visit to #gentoo-bsd on WIth the help of friendly people out there I found that it’s missing something but seemed to be out of luck as we couldn’t find out what was missing.

A quickfire query at revealed that there was indeed a bug filed with xorg-server-1.4.0. You can find the bug at
So, basically I needed to patch up my xorg-server files with the 2 patches given out there. Continue reading