--- /usr/portage/app-admin/keepass/keepass-2.30.ebuild 2015-08-19 13:01:02.000000000 +0200 +++ /usr/local/portage/app-admin/keepass/keepass-2.30.ebuild 2015-09-28 17:16:15.584006030 +0200 @@ -33,6 +33,8 @@ # KeePass looks for some XSL files in the same folder as the executable, # we prefer to have it in /usr/share/KeePass epatch "${FILESDIR}/${PN}-2.20-xsl-path-detection.patch" + + has_version ">=dev-lang/mono-4" && epatch "${FILESDIR}/${PN}-2.30-mono-4-support.patch" } src_compile() {