From: Zac Medico Date: Sun, 6 Jan 2019 10:01:28 +0000 (-0800) Subject: app-text/podofo: fix 0.9.6_p20180715 libressl build X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d1c635015e7786c9c1d6ac3282f5ce27cf57c15d;p=gentoo.git app-text/podofo: fix 0.9.6_p20180715 libressl build Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/663602 Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Zac Medico --- diff --git a/app-text/podofo/podofo-0.9.6_p20180715.ebuild b/app-text/podofo/podofo-0.9.6_p20180715.ebuild index 7f9639761070..dd1f3e60f7ce 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