summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-07-28 08:36:06 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-07-28 08:41:27 +0200
commitd94b9e0e9dd9b20ebd2f1381111da79d6df98796 (patch)
treeb8a48d05f32af4007c5c336e27a4df68ebed2ed7 /app-emulation/virtualbox
parentvirtualbox packages: Bump to version 5.1.26 (diff)
downloadgentoo-d94b9e0e9dd9b20ebd2f1381111da79d6df98796.tar.gz
gentoo-d94b9e0e9dd9b20ebd2f1381111da79d6df98796.tar.bz2
gentoo-d94b9e0e9dd9b20ebd2f1381111da79d6df98796.zip
app-emulation/virtualbox: Don't apply nopie patch unconditionally.
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'app-emulation/virtualbox')
-rw-r--r--app-emulation/virtualbox/virtualbox-5.1.24.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/app-emulation/virtualbox/virtualbox-5.1.24.ebuild b/app-emulation/virtualbox/virtualbox-5.1.24.ebuild
index 8249f3d55e26..e874868ea021 100644
--- a/app-emulation/virtualbox/virtualbox-5.1.24.ebuild
+++ b/app-emulation/virtualbox/virtualbox-5.1.24.ebuild
@@ -182,9 +182,9 @@ src_prepare() {
fi
# Only add nopie patch when we're on hardened
- #if ! gcc-specs-pie ; then
- # rm "${WORKDIR}"/patches/050_${PN}-*-nopie.patch || die
- #fi
+ if gcc-specs-pie ; then
+ eapply "${FILESDIR}/050_virtualbox-5.1.24-nopie.patch"
+ fi
# Only add paxmark patch when we're on pax_kernel
if use pax_kernel ; then
@@ -192,7 +192,6 @@ src_prepare() {
fi
eapply "${WORKDIR}/patches"
- eapply "${FILESDIR}/050_virtualbox-5.1.24-nopie.patch"
eapply_user
}