Add ghc 6.12 patch from portage to cmdlib to sync it with portage