diff options
author | Zac Medico <zmedico@gentoo.org> | 2019-01-06 02:01:28 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2019-01-06 02:04:19 -0800 |
commit | d1c635015e7786c9c1d6ac3282f5ce27cf57c15d (patch) | |
tree | 21314b0a1b79d290d132e963bc443bd9fd2b5d26 /app-text/podofo | |
parent | dev-util/bingrep: new package (diff) | |
download | gentoo-d1c635015e7786c9c1d6ac3282f5ce27cf57c15d.tar.gz gentoo-d1c635015e7786c9c1d6ac3282f5ce27cf57c15d.tar.bz2 gentoo-d1c635015e7786c9c1d6ac3282f5ce27cf57c15d.zip |
app-text/podofo: fix 0.9.6_p20180715 libressl build
Reported-by: Toralf Förster <toralf@gentoo.org>
Closes: https://bugs.gentoo.org/663602
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-text/podofo')
-rw-r--r-- | app-text/podofo/podofo-0.9.6_p20180715.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
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 |