summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-03-31 17:22:23 +0100
committerSam James <sam@gentoo.org>2023-03-31 17:23:15 +0100
commitfaa52c1c5bc2c1a2ac9382f22c6dd0802b8b7250 (patch)
tree700e0bdab93f5f2a3fe945c5d7216cc2e93fbe78 /net-im
parentsys-process/bottom: Stabilize 0.8.0 arm64, #903615 (diff)
downloadgentoo-faa52c1c5bc2c1a2ac9382f22c6dd0802b8b7250.tar.gz
gentoo-faa52c1c5bc2c1a2ac9382f22c6dd0802b8b7250.tar.bz2
gentoo-faa52c1c5bc2c1a2ac9382f22c6dd0802b8b7250.zip
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@yahoo.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/discord/discord-0.0.26-r1.ebuild (renamed from net-im/discord/discord-0.0.26.ebuild)4
1 files changed, 4 insertions, 0 deletions
diff --git a/net-im/discord/discord-0.0.26.ebuild b/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}"
}