summarylogtreecommitdiffstats
path: root/0001-gcc-4.9-SIGSEGV.patch
diff options
context:
space:
mode:
authorRuben Van Boxem2017-09-17 21:17:57 +0200
committerRuben Van Boxem2017-09-17 21:17:57 +0200
commit97906617b3386b612dda39f42d1ae2e5bdfe0ebd (patch)
tree18729d4cd4354224b013d916bf084c4d868a06a3 /0001-gcc-4.9-SIGSEGV.patch
parent9d13031e7f3c1a89f841e58a98a685f4dbc724d5 (diff)
downloadaur-97906617b3386b612dda39f42d1ae2e5bdfe0ebd.tar.gz
Fix build for glibc 2.26
Diffstat (limited to '0001-gcc-4.9-SIGSEGV.patch')
-rw-r--r--0001-gcc-4.9-SIGSEGV.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/0001-gcc-4.9-SIGSEGV.patch b/0001-gcc-4.9-SIGSEGV.patch
new file mode 100644
index 000000000000..78baa6bef4f7
--- /dev/null
+++ b/0001-gcc-4.9-SIGSEGV.patch
@@ -0,0 +1,14 @@
+--- libsanitizer/asan/asan_linux.cc.orig 2013-12-05 04:18:38.000000000 -0500
++++ libsanitizer/asan/asan_linux.cc 2017-09-12 18:59:45.310819390 -0400
+@@ -27,10 +27,11 @@
+ #include <fcntl.h>
+ #include <pthread.h>
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <unwind.h>
++#include <signal.h>
+
+ #if !SANITIZER_ANDROID
+ // FIXME: where to get ucontext on Android?
+ #include <sys/ucontext.h>
+ #endif