void-packages/srcpkgs/yquake2/patches/musl.patch

12 lines
360 B
Diff

--- src/backends/unix/signalhandler.c 2018-07-25 17:01:58.664525692 +0200
+++ src/backends/unix/signalhandler.c 2018-07-25 17:02:13.880526068 +0200
@@ -34,7 +34,7 @@
#include "../../common/header/common.h"
-#if defined(__linux__) || defined(__FreeBSD__)
+#if defined(__linux__) && defined(__GLIBC__) || defined(__FreeBSD__)
#include <execinfo.h>
void