Initial patch for 11.10

I made this version for Gentoo. Hope it helps.