commit:     41f34209632a646cc5bc2ef7c4b5675d630d5307
Author:     Kostadin Shishmanov <kostadinshishmanov <AT> protonmail <DOT> com>
AuthorDate: Wed Feb 18 15:49:30 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 18 16:14:19 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41f34209

kde-plasma/spectacle: raise stack size for musl

Fix a crash that occurs when saving a screen recording,
same issue as https://github.com/gentoo/kde/pull/1089.

Signed-off-by: Kostadin Shishmanov <kostadinshishmanov <AT> protonmail.com>
Part-of: https://github.com/gentoo/kde/pull/1090
Closes: https://github.com/gentoo/kde/pull/1090
Signed-off-by: Sam James <sam <AT> gentoo.org>

 kde-plasma/spectacle/spectacle-6.6.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/kde-plasma/spectacle/spectacle-6.6.0.ebuild 
b/kde-plasma/spectacle/spectacle-6.6.0.ebuild
index 4a78b7580a62..e542959e614d 100644
--- a/kde-plasma/spectacle/spectacle-6.6.0.ebuild
+++ b/kde-plasma/spectacle/spectacle-6.6.0.ebuild
@@ -7,7 +7,7 @@ ECM_HANDBOOK="optional"
 ECM_TEST="forceoptional"
 KFMIN=6.22.0
 QTMIN=6.10.1
-inherit ecm optfeature plasma.kde.org xdg
+inherit ecm flag-o-matic optfeature plasma.kde.org xdg
 
 DESCRIPTION="Screenshot capture utility"
 HOMEPAGE="https://apps.kde.org/spectacle/";
@@ -66,6 +66,8 @@ BDEPEND="
 "
 
 src_configure() {
+       use elibc_musl && append-ldflags -Wl,-z,stack-size=0x100000 # upstream 
bug 470763
+
        local mycmakeargs=(
                $(cmake_use_find_package share KF6Purpose)
        )

Reply via email to