Add fix to gentoo bug #521776

Package-Manager: portage-2.2.12