commit:     3989319eab2d43a4ce234f3d5bf6820f6db73705
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:13:50 2026 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=3989319e

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.5.91.ebuild      | 4 +++-
 kde-plasma/spectacle/spectacle-6.6.49.9999.ebuild | 4 +++-
 kde-plasma/spectacle/spectacle-9999.ebuild        | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/kde-plasma/spectacle/spectacle-6.5.91.ebuild 
b/kde-plasma/spectacle/spectacle-6.5.91.ebuild
index 71463651c4..8737c4fe8d 100644
--- a/kde-plasma/spectacle/spectacle-6.5.91.ebuild
+++ b/kde-plasma/spectacle/spectacle-6.5.91.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)
        )

diff --git a/kde-plasma/spectacle/spectacle-6.6.49.9999.ebuild 
b/kde-plasma/spectacle/spectacle-6.6.49.9999.ebuild
index a72cd13534..089b250104 100644
--- a/kde-plasma/spectacle/spectacle-6.6.49.9999.ebuild
+++ b/kde-plasma/spectacle/spectacle-6.6.49.9999.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)
        )

diff --git a/kde-plasma/spectacle/spectacle-9999.ebuild 
b/kde-plasma/spectacle/spectacle-9999.ebuild
index c8c72112c2..279c7a880b 100644
--- a/kde-plasma/spectacle/spectacle-9999.ebuild
+++ b/kde-plasma/spectacle/spectacle-9999.ebuild
@@ -7,7 +7,7 @@ ECM_HANDBOOK="optional"
 ECM_TEST="forceoptional"
 KFMIN=9999
 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