commit: aeb7cc1d59252f49744026b7622221cb81bef3a4 Author: Aric Belsito <lluixhi <AT> gmail <DOT> com> AuthorDate: Mon May 14 16:12:37 2018 +0000 Commit: Aric Belsito <lluixhi <AT> gmail <DOT> com> CommitDate: Mon May 14 16:12:37 2018 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=aeb7cc1d
www-client/firefox: make cmsghdr patch conditional on if we're building for musl on amd64 www-client/firefox/firefox-60.0.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www-client/firefox/firefox-60.0.ebuild b/www-client/firefox/firefox-60.0.ebuild index 7ac6a2b..ee66c0c 100644 --- a/www-client/firefox/firefox-60.0.ebuild +++ b/www-client/firefox/firefox-60.0.ebuild @@ -119,7 +119,9 @@ src_prepare() { eapply "${WORKDIR}/firefox" # Musl Patches - eapply "${FILESDIR}"/${P}-musl-cmsghdr.patch + if [[ ${ABI} == amd64 ]] && use elibc_musl; then + eapply "${FILESDIR}"/${P}-musl-cmsghdr.patch + fi eapply "${FILESDIR}"/${P}-musl-sys_auxv_h.patch # Enable gnomebreakpad