sys-boot/vboot-utils: fix 72_p20181229 for libressl
authorZac Medico <zmedico@gentoo.org>
Sat, 5 Jan 2019 01:31:08 +0000 (17:31 -0800)
committerZac Medico <zmedico@gentoo.org>
Sat, 5 Jan 2019 01:33:42 +0000 (17:33 -0800)
dumpRSAPublicKey.c:(.text+0x150): undefined reference to `RSA_get0_key'

Reported-by: Toralf Förster <toralf@gentoo.org>
Closes: https://bugs.gentoo.org/674522
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico@gentoo.org>
sys-boot/vboot-utils/vboot-utils-72_p20181229.ebuild

index 3469619cf31cc6c1f56362aeaf7b0d9d131d7bf4..273d3ec48ff2d7727fccc9c707cede3f4cacd326 100644 (file)
@@ -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() {