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