From 00da0a19ff68b45eb84833ca3f16896fdc2a9b60 Mon Sep 17 00:00:00 2001 From: Kostadin Shishmanov Date: Tue, 17 Feb 2026 22:50:59 +0200 Subject: [PATCH] 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 Part-of: https://github.com/gentoo/kde/pull/1089 Closes: https://github.com/gentoo/kde/pull/1089 Signed-off-by: Sam James --- 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 74df3438bc55c..3bb4e1d5d16ea 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 379fcc5ec3cdf..c2e094c2c0ae4 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)