diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-07-28 08:36:06 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-07-28 08:41:27 +0200 |
commit | d94b9e0e9dd9b20ebd2f1381111da79d6df98796 (patch) | |
tree | b8a48d05f32af4007c5c336e27a4df68ebed2ed7 /app-emulation/virtualbox | |
parent | virtualbox packages: Bump to version 5.1.26 (diff) | |
download | gentoo-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.ebuild | 7 |
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 } |