void-packages/srcpkgs/yquake2/patches/musl.patch
2015-05-31 13:04:11 +02:00

19 lines
438 B
Diff

--- src/backends/unix/signalhandler.c.orig 2015-05-31 13:02:37.500133271 +0200
+++ src/backends/unix/signalhandler.c 2015-05-31 13:02:54.932317118 +0200
@@ -28,14 +28,13 @@
#include <signal.h>
-#ifdef __linux__
+#if defined(__linux__) && defined(__GLIBC__)
#include <execinfo.h>
#endif
#include "../../common/header/common.h"
-#ifdef __linux__
-
+#if defined(__linux__) && defined(__GLIBC__)
void
printBacktrace(int sig)
{