According to the scripts from http://www.gentoo.org/proj/en/desktop/x/x11/porting-modular-x-howto.xml, this is what's needed.
Created attachment 76506 [details, diff] patch
Thanks, fixed.