From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 33A92158092 for ; Sun, 19 Sep 2021 15:07:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E634E0965; Sun, 19 Sep 2021 15:07:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 53361E0965 for ; Sun, 19 Sep 2021 15:07:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 32A213434C2 for ; Sun, 19 Sep 2021 15:07:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8D97B90 for ; Sun, 19 Sep 2021 15:07:19 +0000 (UTC) From: "Jory Pratt" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jory Pratt" Message-ID: <1632064035.4c8b5a75fe2ccac62acf57fa0d650514157b816b.anarchy@gentoo> Subject: [gentoo-commits] proj/musl:master commit in: media-tv/kodi/ X-VCS-Repository: proj/musl X-VCS-Files: media-tv/kodi/kodi-19.1-r1.ebuild X-VCS-Directories: media-tv/kodi/ X-VCS-Committer: anarchy X-VCS-Committer-Name: Jory Pratt X-VCS-Revision: 4c8b5a75fe2ccac62acf57fa0d650514157b816b X-VCS-Branch: master Date: Sun, 19 Sep 2021 15:07:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b932eedc-b1e0-4d38-9ae0-addfd3b1dd99 X-Archives-Hash: 3beeda4dedd5326f9b7f717a1182a0de commit: 4c8b5a75fe2ccac62acf57fa0d650514157b816b Author: Jory Pratt gentoo org> AuthorDate: Sun Sep 19 15:07:15 2021 +0000 Commit: Jory Pratt gentoo org> CommitDate: Sun Sep 19 15:07:15 2021 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=4c8b5a75 media-tv/kodi: Set 2MB stacksize for musl users Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Jory Pratt gentoo.org> media-tv/kodi/kodi-19.1-r1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/media-tv/kodi/kodi-19.1-r1.ebuild b/media-tv/kodi/kodi-19.1-r1.ebuild index aa55fe9..17ee6e8 100644 --- a/media-tv/kodi/kodi-19.1-r1.ebuild +++ b/media-tv/kodi/kodi-19.1-r1.ebuild @@ -39,7 +39,7 @@ PATCHES=( "${FILESDIR}/musl/19.0/0005-Fix-fortify-sources.patch" ) -inherit autotools cmake desktop linux-info pax-utils python-single-r1 xdg +inherit autotools cmake desktop flag-o-matic linux-info pax-utils python-single-r1 xdg DESCRIPTION="A free and open source media-player and entertainment hub" HOMEPAGE="https://kodi.tv/ https://kodi.wiki/" @@ -239,9 +239,13 @@ src_prepare() { "${S}"/tools/depends/native/TexturePacker/src/autogen.sh \ "${S}"/tools/depends/native/JsonSchemaBuilder/src/autogen.sh \ || die + + # Required to prevent addons from crashing + use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 } src_configure() { + filter-flags -fstack-protector-all local platform=() use gbm && platform+=( gbm ) use wayland && platform+=( wayland )