commit:     e18eb3c31f350a35f1043decea2a220094bbce18
Author:     Sam Jorna <wraeth <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 14 02:25:54 2016 +0000
Commit:     Sam Jorna <wraeth <AT> gentoo <DOT> org>
CommitDate: Wed Dec 14 22:28:28 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e18eb3c3

sys-boot/refind: revbump, disable build with PIE

Gentoo-bug: 598647
Acked-by: Stéphane Veyret <sveyret <AT> gmail.com>
Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-boot/refind/{refind-0.10.4-r1.ebuild => refind-0.10.4-r2.ebuild} | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys-boot/refind/refind-0.10.4-r1.ebuild 
b/sys-boot/refind/refind-0.10.4-r2.ebuild
similarity index 98%
rename from sys-boot/refind/refind-0.10.4-r1.ebuild
rename to sys-boot/refind/refind-0.10.4-r2.ebuild
index af45a99..b427764 100644
--- a/sys-boot/refind/refind-0.10.4-r1.ebuild
+++ b/sys-boot/refind/refind-0.10.4-r2.ebuild
@@ -54,6 +54,10 @@ pkg_setup() {
 
 src_prepare() {
        default
+
+       # bug 598647 - PIE not supported
+       sed -e 's:CFLAGS          =:& -fno-PIE:' -i "${S}/Make.common" || die
+
        local f
        for f in "${S}"/*/Make.tiano "${S}"/Make.common; do
                sed -i -e 's/^\(include .*target.txt.*\)$/#\1/' \

Reply via email to