void-packages/srcpkgs/masscan/patches/fix-musl.patch
Łukasz Jendrysik 6a8f527b28 New package: masscan-1.0.4.
Closes: #6777 [via git-merge-pr]
2017-06-19 13:56:16 -04:00

17 lines
458 B
Diff

Backported from
https://github.com/robertdavidgraham/masscan/commit/8e58f7caf78c1d3e8e042dae72d4017cf5a1af86
which was merged shortly after release.
diff --git a/src/pixie-backtrace.c b/src/pixie-backtrace.c
index e7113a2..715b5db 100644
--- a/src/pixie-backtrace.c
+++ b/src/pixie-backtrace.c
@@ -11,7 +11,7 @@
char global_self[512] = "";
-#if defined(__linux__)
+#if defined(__GLIBC__)
#include <unistd.h>
#include <execinfo.h>
#include <dlfcn.h>