mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
qtcreator: patch for musl
This commit is contained in:
parent
d9977d4feb
commit
c9ba6435d1
1 changed files with 11 additions and 0 deletions
11
srcpkgs/qtcreator/patches/musl.patch
Normal file
11
srcpkgs/qtcreator/patches/musl.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/src/libs/nanotrace/nanotracehr.cpp
|
||||
+++ b/src/libs/nanotrace/nanotracehr.cpp
|
||||
@@ -91,7 +91,7 @@ std::string getThreadName()
|
||||
{
|
||||
std::array<char, 200> buffer;
|
||||
buffer[0] = 0;
|
||||
-#ifdef Q_OS_UNIX
|
||||
+#ifdef __GLIBC__
|
||||
auto rc = pthread_getname_np(pthread_self(), buffer.data(), buffer.size());
|
||||
if (rc != 0)
|
||||
return {};
|
Loading…
Add table
Reference in a new issue