commit:     00da0a19ff68b45eb84833ca3f16896fdc2a9b60
Author:     Kostadin Shishmanov <kostadinshishmanov <AT> protonmail <DOT> com>
AuthorDate: Tue Feb 17 20:50:59 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 18 08:39:08 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00da0a19

kde-apps/dolphin: raise stack size for musl

Raise the stack size from musl's default 128K to 1M to fix a crash
that occurs when pasting a file.

See-also: https://bugs.kde.org/show_bug.cgi?id=470763
See-also: https://gitlab.alpinelinux.org/alpine/aports/-/issues/14980
Signed-off-by: Kostadin Shishmanov <kostadinshishmanov <AT> protonmail.com>
Part-of: https://github.com/gentoo/kde/pull/1089
Closes: https://github.com/gentoo/kde/pull/1089
Signed-off-by: Sam James <sam <AT> gentoo.org>

 kde-apps/dolphin/dolphin-25.08.3.ebuild | 4 +++-
 kde-apps/dolphin/dolphin-25.12.2.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/kde-apps/dolphin/dolphin-25.08.3.ebuild 
b/kde-apps/dolphin/dolphin-25.08.3.ebuild
index 74df3438bc55..3bb4e1d5d16e 100644
--- a/kde-apps/dolphin/dolphin-25.08.3.ebuild
+++ b/kde-apps/dolphin/dolphin-25.08.3.ebuild
@@ -8,7 +8,7 @@ ECM_TEST="true"
 PVCUT=$(ver_cut 1-3)
 KFMIN=6.16.0
 QTMIN=6.9.1
-inherit ecm gear.kde.org optfeature xdg
+inherit ecm flag-o-matic gear.kde.org optfeature xdg
 
 DESCRIPTION="Plasma filemanager focusing on usability"
 HOMEPAGE="https://apps.kde.org/dolphin/ https://userbase.kde.org/Dolphin";
@@ -68,6 +68,8 @@ CMAKE_SKIP_TESTS=(
 )
 
 src_configure() {
+       use elibc_musl && append-ldflags -Wl,-z,stack-size=0x100000 # upstream 
bug 470763
+
        local mycmakeargs=(
                -DCMAKE_DISABLE_FIND_PACKAGE_PackageKitQt6=ON
                $(cmake_use_find_package semantic-desktop KF6Baloo)

diff --git a/kde-apps/dolphin/dolphin-25.12.2.ebuild 
b/kde-apps/dolphin/dolphin-25.12.2.ebuild
index 379fcc5ec3cd..c2e094c2c0ae 100644
--- a/kde-apps/dolphin/dolphin-25.12.2.ebuild
+++ b/kde-apps/dolphin/dolphin-25.12.2.ebuild
@@ -8,7 +8,7 @@ ECM_TEST="true"
 PVCUT=$(ver_cut 1-3)
 KFMIN=6.19.0
 QTMIN=6.10.1
-inherit ecm gear.kde.org optfeature xdg
+inherit ecm flag-o-matic gear.kde.org optfeature xdg
 
 DESCRIPTION="Plasma filemanager focusing on usability"
 HOMEPAGE="https://apps.kde.org/dolphin/ https://userbase.kde.org/Dolphin";
@@ -60,6 +60,8 @@ RDEPEND="${DEPEND}
 "
 
 src_configure() {
+       use elibc_musl && append-ldflags -Wl,-z,stack-size=0x100000 # upstream 
bug 470763
+
        local mycmakeargs=(
                -DCMAKE_DISABLE_FIND_PACKAGE_PackageKitQt6=ON
                $(cmake_use_find_package semantic-desktop KF6Baloo)

Reply via email to