From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qt-creator/files/, dev-qt/qt-creator/
Date: Tue, 25 Feb 2025 16:58:19 +0000 (UTC) [thread overview]
Message-ID: <1740502662.8eccbe3102ffc99bcbdea9545cb56f13e00efc6b.ionen@gentoo> (raw)
commit: 8eccbe3102ffc99bcbdea9545cb56f13e00efc6b
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 25 16:46:12 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Feb 25 16:57:42 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8eccbe31
dev-qt/qt-creator: rebase execinfo patch in live
Not really tested but should work. It seems that the 2nd execinfo.h
is unused now (included for nothing), so can just drop the other
hunks given the code is gone assuming that not overlooking anything
elsewhere.
Closes: https://bugs.gentoo.org/950276
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
.../files/qt-creator-16.0.0-musl-no-execinfo.patch | 26 ++++++++++++++++++++++
dev-qt/qt-creator/qt-creator-9999.ebuild | 2 +-
2 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/dev-qt/qt-creator/files/qt-creator-16.0.0-musl-no-execinfo.patch b/dev-qt/qt-creator/files/qt-creator-16.0.0-musl-no-execinfo.patch
new file mode 100644
index 000000000000..289f68f4c3aa
--- /dev/null
+++ b/dev-qt/qt-creator/files/qt-creator-16.0.0-musl-no-execinfo.patch
@@ -0,0 +1,26 @@
+execinfo is unavailable with musl (unless opt to package+use libexecinfo)
+--- a/src/libs/utils/qtcassert.cpp
++++ b/src/libs/utils/qtcassert.cpp
+@@ -9,5 +9,5 @@
+ #include <QTime>
+
+-#if defined(Q_OS_UNIX)
++#if defined(Q_OS_UNIX) && defined(__GLIBC__)
+ #include <stdio.h>
+ #include <signal.h>
+@@ -30,5 +30,5 @@
+ if (maxdepth < 0 || maxdepth > ArraySize)
+ maxdepth = ArraySize;
+-#if defined(Q_OS_UNIX)
++#if defined(Q_OS_UNIX) && defined(__GLIBC__)
+ void *bt[ArraySize] = {nullptr};
+ int size = backtrace(bt, maxdepth);
+--- a/src/plugins/qmldesigner/libs/designercore/exceptions/exception.cpp
++++ b/src/plugins/qmldesigner/libs/designercore/exceptions/exception.cpp
+@@ -4,5 +4,5 @@
+ #include "exception.h"
+
+-#ifdef Q_OS_LINUX
++#if defined(Q_OS_LINUX) && defined(__GLIBC__)
+ #include <execinfo.h>
+ #include <cxxabi.h>
diff --git a/dev-qt/qt-creator/qt-creator-9999.ebuild b/dev-qt/qt-creator/qt-creator-9999.ebuild
index 731691c88d92..0b150a349399 100644
--- a/dev-qt/qt-creator/qt-creator-9999.ebuild
+++ b/dev-qt/qt-creator/qt-creator-9999.ebuild
@@ -100,7 +100,7 @@ BDEPEND="
"
PATCHES=(
- "${FILESDIR}"/${PN}-15.0.0-musl-no-execinfo.patch
+ "${FILESDIR}"/${PN}-16.0.0-musl-no-execinfo.patch
"${FILESDIR}"/${PN}-12.0.0-musl-no-malloc-trim.patch
)
next reply other threads:[~2025-02-25 16:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-25 16:58 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-13 10:04 [gentoo-commits] repo/gentoo:master commit in: dev-qt/qt-creator/files/, dev-qt/qt-creator/ Ionen Wolkens
2024-09-27 12:10 Ionen Wolkens
2024-09-04 10:21 Ionen Wolkens
2023-11-16 0:15 Ionen Wolkens
2023-09-11 21:20 Ionen Wolkens
2020-06-25 7:11 Jason A. Donenfeld
2020-06-25 7:11 Jason A. Donenfeld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1740502662.8eccbe3102ffc99bcbdea9545cb56f13e00efc6b.ionen@gentoo \
--to=ionen@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox