Created attachment 581740 [details, diff] 0ad-system_mozjs.patch This patch allows compiling and running 0ad with "system" spidermonkey. Rather than a mandatory unbundling, it is done via a flag.
Created attachment 581742 [details, diff] 0ad-mandatory-system-mozjs.patch A mandatory alternative to the previous patch
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=815ab784f5f549e0f4cb803bbd813199d2c94c90 commit 815ab784f5f549e0f4cb803bbd813199d2c94c90 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-02-12 20:18:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-02-12 20:18:47 +0000 games-strategy/0ad: revert to bundled libraries * SpiderMonkey changes the consumed interfaces even within minor versions, so using the system version is a no go. * nvtt is abandoned upstream and using the system version results in segfaults. Use 0ad's version which has fixes instead. Bug: https://bugs.gentoo.org/735352 Bug: https://bugs.gentoo.org/689124 Closes: https://bugs.gentoo.org/768840 Closes: https://bugs.gentoo.org/759934 Closes: https://bugs.gentoo.org/768930 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org> ...> 0ad-0.0.24_alpha_pre20210116040036-r1.ebuild} | 28 ++++++++++++++++++---- 1 file changed, 23 insertions(+), 5 deletions(-)
I'm sorry, I don't think we can do this with :78 for now (see the commit message).