commit:     db7f353c9db529295c7c1fa1aa66751bbc9c1594
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  5 01:31:08 2019 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Jan  5 01:33:42 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db7f353c

sys-boot/vboot-utils: fix 72_p20181229 for libressl

dumpRSAPublicKey.c:(.text+0x150): undefined reference to `RSA_get0_key'

Reported-by: Toralf Förster <toralf <AT> gentoo.org>
Closes: https://bugs.gentoo.org/674522
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 sys-boot/vboot-utils/vboot-utils-72_p20181229.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys-boot/vboot-utils/vboot-utils-72_p20181229.ebuild 
b/sys-boot/vboot-utils/vboot-utils-72_p20181229.ebuild
index 3469619cf31..273d3ec48ff 100644
--- a/sys-boot/vboot-utils/vboot-utils-72_p20181229.ebuild
+++ b/sys-boot/vboot-utils/vboot-utils-72_p20181229.ebuild
@@ -53,6 +53,10 @@ src_prepare() {
                -i tests/common.sh || die
        sed -e "s:/mnt/host/source/src/platform/vboot_reference:${S}:" \
                -i tests/futility/expect_output/* || die
+       if use libressl; then
+               sed -e '/OPENSSL_VERSION_NUMBER/d' \
+                       -i host/include/openssl_compat.h || die #674522
+       fi
 }
 
 _emake() {

Reply via email to