1 |
commit: eab43e1f6478f40c79ebc6e16017695884b39b60 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 5 06:09:43 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 5 06:20:12 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eab43e1f |
7 |
|
8 |
sys-libs/compiler-rt-sanitizers: Add new glibc fixes to live ebuilds |
9 |
|
10 |
.../compiler-rt-sanitizers/compiler-rt-sanitizers-7.0.9999.ebuild | 6 +++++- |
11 |
sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild | 6 +++++- |
12 |
2 files changed, 10 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.0.9999.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.0.9999.ebuild |
15 |
index 3028242fe9f..9635d97c119 100644 |
16 |
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.0.9999.ebuild |
17 |
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.0.9999.ebuild |
18 |
@@ -75,8 +75,12 @@ src_unpack() { |
19 |
src_prepare() { |
20 |
cmake-utils_src_prepare |
21 |
|
22 |
+ # apply the fixes for new glibc / split tirpc |
23 |
+ eapply "${FILESDIR}/9999/0001-sanitizer_common-Fix-using-libtirpc-on-Linux.patch" |
24 |
+ eapply "${FILESDIR}/9999/0002-test-Support-using-libtirpc-on-Linux.patch" |
25 |
+ |
26 |
if use test; then |
27 |
- # remove tests that are broken by new glibc |
28 |
+ # remove tests that are (still) broken by new glibc |
29 |
# https://bugs.llvm.org/show_bug.cgi?id=36065 |
30 |
if use elibc_glibc && has_version '>=sys-libs/glibc-2.25'; then |
31 |
rm test/lsan/TestCases/Linux/use_tls_dynamic.cc || die |
32 |
|
33 |
diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild |
34 |
index 6d2a4a7a40b..e50fb3c855a 100644 |
35 |
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild |
36 |
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild |
37 |
@@ -74,8 +74,12 @@ src_unpack() { |
38 |
src_prepare() { |
39 |
cmake-utils_src_prepare |
40 |
|
41 |
+ # apply the fixes for new glibc / split tirpc |
42 |
+ eapply "${FILESDIR}/9999/0001-sanitizer_common-Fix-using-libtirpc-on-Linux.patch" |
43 |
+ eapply "${FILESDIR}/9999/0002-test-Support-using-libtirpc-on-Linux.patch" |
44 |
+ |
45 |
if use test; then |
46 |
- # remove tests that are broken by new glibc |
47 |
+ # remove tests that are (still) broken by new glibc |
48 |
# https://bugs.llvm.org/show_bug.cgi?id=36065 |
49 |
if use elibc_glibc && has_version '>=sys-libs/glibc-2.25'; then |
50 |
rm test/lsan/TestCases/Linux/use_tls_dynamic.cc || die |