dev-qt/qt-creator: update live

Closes: https://bugs.gentoo.org/980839
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-08-14 06:46:32 -04:00
parent 6820ec6b79
commit 831a7bebbf
2 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
execinfo is unavailable with musl (unless opt to package+use libexecinfo)
--- a/src/libs/utils/qtcassert.cpp
+++ b/src/libs/utils/qtcassert.cpp
@@ -10,3 +10,3 @@
-#if defined(Q_OS_UNIX) && !defined(__EMSCRIPTEN__)
+#if defined(Q_OS_UNIX) && !defined(__EMSCRIPTEN__) && defined(__GLIBC__)
#include <execinfo.h>
@@ -29,3 +29,3 @@
maxdepth = ArraySize;
-#if defined(Q_OS_UNIX) && !defined(__EMSCRIPTEN__)
+#if defined(Q_OS_UNIX) && !defined(__EMSCRIPTEN__) && defined(__GLIBC__)
void *bt[ArraySize] = {nullptr};

View File

@@ -96,7 +96,7 @@ BDEPEND="
"
PATCHES=(
"${FILESDIR}"/${PN}-16.0.0-musl-no-execinfo.patch
"${FILESDIR}"/${PN}-21.0.0-musl-no-execinfo.patch
"${FILESDIR}"/${PN}-12.0.0-musl-no-malloc-trim.patch
)