diff --git a/dev-qt/qt-creator/files/qt-creator-21.0.0-musl-no-execinfo.patch b/dev-qt/qt-creator/files/qt-creator-21.0.0-musl-no-execinfo.patch new file mode 100644 index 0000000000000..83b1bd7dab5ac --- /dev/null +++ b/dev-qt/qt-creator/files/qt-creator-21.0.0-musl-no-execinfo.patch @@ -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 +@@ -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}; diff --git a/dev-qt/qt-creator/qt-creator-9999.ebuild b/dev-qt/qt-creator/qt-creator-9999.ebuild index 5c0a85cc20188..fb7c2b6a89d36 100644 --- a/dev-qt/qt-creator/qt-creator-9999.ebuild +++ b/dev-qt/qt-creator/qt-creator-9999.ebuild @@ -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 )