commit: d1c635015e7786c9c1d6ac3282f5ce27cf57c15d Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Sun Jan 6 10:01:28 2019 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Sun Jan 6 10:04:19 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1c63501
app-text/podofo: fix 0.9.6_p20180715 libressl build Reported-by: Toralf Förster <toralf <AT> gentoo.org> Closes: https://bugs.gentoo.org/663602 Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> app-text/podofo/podofo-0.9.6_p20180715.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app-text/podofo/podofo-0.9.6_p20180715.ebuild b/app-text/podofo/podofo-0.9.6_p20180715.ebuild index 7f963976107..dd1f3e60f7c 100644 --- a/app-text/podofo/podofo-0.9.6_p20180715.ebuild +++ b/app-text/podofo/podofo-0.9.6_p20180715.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -35,6 +35,11 @@ src_prepare() { cmake-utils_src_prepare local x sed_args + if use libressl; then + sed -e 's:^#ifdef PODOFO_HAVE_OPENSSL_1_1$:#ifndef PODOFO_HAVE_OPENSSL_1_1:' \ + -i tools/podofosign/podofosign.cpp || die #663602 + fi + # bug 620934 - Disable linking with cppunit when possible, since it # triggers errors with some older compilers. use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || die