commit: 877d3aba5fff5beb9cc0efeb0d5b5170d5f8683c 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:21:52 2026 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=877d3aba
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.12.49.9999.ebuild | 4 +++- kde-apps/dolphin/dolphin-9999.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/kde-apps/dolphin/dolphin-25.12.49.9999.ebuild b/kde-apps/dolphin/dolphin-25.12.49.9999.ebuild index 9e95be181e..9f88140c2a 100644 --- a/kde-apps/dolphin/dolphin-25.12.49.9999.ebuild +++ b/kde-apps/dolphin/dolphin-25.12.49.9999.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) diff --git a/kde-apps/dolphin/dolphin-9999.ebuild b/kde-apps/dolphin/dolphin-9999.ebuild index 6b8553e1c2..3f401e3bfd 100644 --- a/kde-apps/dolphin/dolphin-9999.ebuild +++ b/kde-apps/dolphin/dolphin-9999.ebuild @@ -8,7 +8,7 @@ ECM_TEST="true" PVCUT=$(ver_cut 1-3) KFMIN=6.22.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)
