diff options
author | Ruben Van Boxem | 2017-09-17 21:17:57 +0200 |
---|---|---|
committer | Ruben Van Boxem | 2017-09-17 21:17:57 +0200 |
commit | 97906617b3386b612dda39f42d1ae2e5bdfe0ebd (patch) | |
tree | 18729d4cd4354224b013d916bf084c4d868a06a3 /0000-gcc-4.9.ucontext.patch | |
parent | 9d13031e7f3c1a89f841e58a98a685f4dbc724d5 (diff) | |
download | aur-97906617b3386b612dda39f42d1ae2e5bdfe0ebd.tar.gz |
Fix build for glibc 2.26
Diffstat (limited to '0000-gcc-4.9.ucontext.patch')
-rw-r--r-- | 0000-gcc-4.9.ucontext.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/0000-gcc-4.9.ucontext.patch b/0000-gcc-4.9.ucontext.patch new file mode 100644 index 000000000000..db82c22e3bc4 --- /dev/null +++ b/0000-gcc-4.9.ucontext.patch @@ -0,0 +1,17 @@ +--- libsanitizer/sanitizer_common/sanitizer_linux.h.orig 2013-12-05 04:18:38.000000000 -0500 ++++ libsanitizer/sanitizer_common/sanitizer_linux.h 2017-09-12 18:30:52.178616638 -0400 +@@ -14,13 +14,13 @@ + #include "sanitizer_platform.h" + #if SANITIZER_LINUX + #include "sanitizer_common.h" + #include "sanitizer_internal_defs.h" + #include "sanitizer_platform_limits_posix.h" ++#include <sys/ucontext.h> + + struct link_map; // Opaque type returned by dlopen(). +-struct sigaltstack; + + namespace __sanitizer { + // Dirent structure for getdents(). Note that this structure is different from + // the one in <dirent.h>, which is used by readdir(). + struct linux_dirent; |