summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.0.20-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.0.20-r1.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.0.20-r1.ebuild
index 8784c0486196..56b0ca15e536 100644
--- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.0.20-r1.ebuild
+++ b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.0.20-r1.ebuild
@@ -83,6 +83,10 @@ src_prepare() {
# Disable things unused or splitted into separate ebuilds
cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
+ # Remove pointless GCC version limitations in check_gcc()
+ sed -e "/\s*-o\s*\\\(\s*\$cc_maj\s*-eq\s*[5-9]\s*-a\s*\$cc_min\s*-gt\s*[0-5]\s*\\\)\s*\\\/d" \
+ -i configure || die
+
default
# link with lazy on hardened #394757