summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-01-17 19:44:36 +0100
committerMichał Górny <mgorny@gentoo.org>2019-01-18 23:04:43 +0100
commit591e569f5896eefcfe2094b4f6e444d73dea6359 (patch)
treeed8cd28793462e54f576d9abcd74ac32a3f5e46e /sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-5.0.2.ebuild
parentgames-util/xboxdrv: Bump to fix SCons under Python 2 (diff)
downloadgentoo-591e569f5896eefcfe2094b4f6e444d73dea6359.tar.gz
gentoo-591e569f5896eefcfe2094b4f6e444d73dea6359.tar.bz2
gentoo-591e569f5896eefcfe2094b4f6e444d73dea6359.zip
sys-libs/compiler-rt-sanitizers: Backport fix for sys/ustat.h
Closes: https://bugs.gentoo.org/675654 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-5.0.2.ebuild')
-rw-r--r--sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-5.0.2.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-5.0.2.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-5.0.2.ebuild
index d8168a231aa7..2862cd5c8719 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-5.0.2.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-5.0.2.ebuild
@@ -72,6 +72,10 @@ src_unpack() {
src_prepare() {
cmake-utils_src_prepare
+ # sys/ustat.h removed in glibc 2.28
+ # https://bugs.gentoo.org/675654
+ eapply "${FILESDIR}"/5.0.2/0001-sanitizer-Use-pre-computed-size-of-struct-ustat-for-.patch
+
if use test; then
# remove tests that are broken by new glibc
# (disabled in 6.0.0+, r313069)