commit: faa52c1c5bc2c1a2ac9382f22c6dd0802b8b7250 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Mar 31 16:22:23 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Mar 31 16:23:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faa52c1c
net-im/discord: install chrome_crashpad_handler if it exists This fixes crashes at startup. Closes: https://bugs.gentoo.org/903616 Thanks-to: Jyrki Launonen <codez_iccd_99 <AT> yahoo.com> Signed-off-by: Sam James <sam <AT> gentoo.org> net-im/discord/{discord-0.0.26.ebuild => discord-0.0.26-r1.ebuild} | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/net-im/discord/discord-0.0.26.ebuild b/net-im/discord/discord-0.0.26-r1.ebuild similarity index 94% rename from net-im/discord/discord-0.0.26.ebuild rename to net-im/discord/discord-0.0.26-r1.ebuild index 95653d446eaa..9f84b3e48126 100644 --- a/net-im/discord/discord-0.0.26.ebuild +++ b/net-im/discord/discord-0.0.26-r1.ebuild @@ -116,6 +116,10 @@ src_install() { fowners root "${DESTDIR}/chrome-sandbox" fperms 4711 "${DESTDIR}/chrome-sandbox" + # Crashpad is included in the package once in a while and when it does, it must be installed. + # See #903616 and #890595 + [[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler + dosym "${DESTDIR}/${MY_PN^}" "/usr/bin/${MY_PN}" }
