void-packages/srcpkgs/strawberry/patches/musl.patch
q66 0699b96c8e New package: strawberry-0.4.2
This is a fork of Clementine based on Qt5. It supports roughly the
same featureset and has the same UI, except it uses Qt5 instead of
Qt4 and certain features are different (e.g. no Spotify support,
but there is Tidal streaming support).

For now, we are building without Deezer support (missing support
packages in repo).
2019-01-04 10:32:42 +01:00

20 lines
662 B
Diff

--- ext/libstrawberry-common/core/logging.cpp 2019-01-03 23:40:30.761082917 +0100
+++ ext/libstrawberry-common/core/logging.cpp 2019-01-03 23:41:07.721257707 +0100
@@ -32,7 +32,7 @@
#include <stdlib.h>
#include <string>
#include <iostream>
-#ifdef Q_OS_UNIX
+#if defined Q_OS_UNIX && defined __GLIBC__
#include <execinfo.h>
#endif
@@ -249,7 +249,7 @@
}
void DumpStackTrace() {
-#ifdef Q_OS_UNIX
+#if defined Q_OS_UNIX && defined __GLIBC__
void* callstack[128];
int callstack_size = backtrace(reinterpret_cast<void**>(&callstack), sizeof(callstack));
char** symbols = backtrace_symbols(reinterpret_cast<void**>(&callstack), callstack_size);