aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '4.8.5/gentoo/98_all_asan-signal_h.patch')
-rw-r--r--4.8.5/gentoo/98_all_asan-signal_h.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/4.8.5/gentoo/98_all_asan-signal_h.patch b/4.8.5/gentoo/98_all_asan-signal_h.patch
new file mode 100644
index 0000000..8711d53
--- /dev/null
+++ b/4.8.5/gentoo/98_all_asan-signal_h.patch
@@ -0,0 +1,15 @@
+Fix error: ‘SIGSEGV’ was not declared in this scope
+
+https://bugs.gentoo.org/629502#c9
+https://patchwork.ozlabs.org/patch/725596/
+
+--- a/libsanitizer/asan/asan_linux.cc
++++ b/libsanitizer/asan/asan_linux.cc
+@@ -29,6 +29,7 @@
+ #include <dlfcn.h>
+ #include <fcntl.h>
+ #include <pthread.h>
++#include <signal.h>
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <unwind.h>