Patching xorg-server-1.4.0.90 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 irc.freenode.net. 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 bugs.gentoo.org revealed that there was indeed a bug filed with xorg-server-1.4.0. You can find the bug at http://bugs.gentoo.org/show_bug.cgi?id=205149
So, basically I needed to patch up my xorg-server files with the 2 patches given out there. Continue reading