From 8b3934067086c1c581d2a27f8f0a5cc75dff1066 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 31 May 2019 22:54:18 +0100 Subject: 4.8.5: backport 98_all_asan-signal_h.patch It's not enough yet to build libsanitizer against glibc-2.28/.29 but it's a start. Reported-by: Guilherme Amadio Bug: https://bugs.gentoo.org/671568 Signed-off-by: Sergei Trofimovich --- 4.8.5/gentoo/98_all_asan-signal_h.patch | 15 +++++++++++++++ 4.8.5/gentoo/README.history | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 4.8.5/gentoo/98_all_asan-signal_h.patch 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 + #include + #include ++#include + #include + #include + #include diff --git a/4.8.5/gentoo/README.history b/4.8.5/gentoo/README.history index 41965ea..65f15cc 100644 --- a/4.8.5/gentoo/README.history +++ b/4.8.5/gentoo/README.history @@ -1,6 +1,8 @@ 1.5 TODO + 96_all_stage1-ldflags.patch + 97_all_libjava-ucontext.patch + + 98_all_asan-signal_h.patch + 1.4 23 Sep 2018 U 09_all_default-ssp.patch + 34_all_libjava-classpath-locale-sort.patch -- cgit v1.2.3-65-gdbad