Polkit was recently ported from SpiderMonkey 52 to SpiderMonkey 60: https://gitlab.freedesktop.org/polkit/polkit/commit/c9cd7024140b837b5693d7c1bbaad1b0cd31cce6 https://gitlab.freedesktop.org/polkit/polkit/commit/dd00683e8781d230a45781d509d86ad676138564 I suggest backporting of these two relatively small commits to allow using newer SpiderMonkey.
Created attachment 570684 [details, diff] Patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3593d9638f4876e8540afb40012856ebe6d257b5 commit 3593d9638f4876e8540afb40012856ebe6d257b5 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2019-03-25 00:49:59 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-03-26 08:58:40 +0000 sys-auth/polkit: Use dev-lang/spidermonkey:60. Port to EAPI="7". Improve HOMEPAGE. Fixes: https://bugs.gentoo.org/681692 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> .../files/polkit-0.115-spidermonkey-60.patch | 180 +++++++++++++++++++++ sys-auth/polkit/polkit-0.115-r4.ebuild | 143 ++++++++++++++++ 2 files changed, 323 insertions(+)