commit:     baa2b7d340e6636519d069ee235a429bd546d289
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 20 21:30:13 2017 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Dec 20 21:34:28 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baa2b7d3

app-office/scribus: Patch openssl determination in cmake

Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../scribus/files/scribus-1.5.3-cmake-openssl.patch       | 15 +++++++++++++++
 app-office/scribus/scribus-1.5.3.ebuild                   |  1 +
 2 files changed, 16 insertions(+)

diff --git a/app-office/scribus/files/scribus-1.5.3-cmake-openssl.patch 
b/app-office/scribus/files/scribus-1.5.3-cmake-openssl.patch
new file mode 100644
index 00000000000..c2cb5e9dd58
--- /dev/null
+++ b/app-office/scribus/files/scribus-1.5.3-cmake-openssl.patch
@@ -0,0 +1,15 @@
+Description: Fix case of "OpenSSL" to match the case of the file shipped by 
cmake
+Author: Mattia Rizzolo <[email protected]>
+Last-Update: 2017-06-05
+
+--- a/cmake/modules/FindLIBPODOFO.cmake
++++ b/cmake/modules/FindLIBPODOFO.cmake
+@@ -45,7 +45,7 @@
+       #message(STATUS "PODOFO PATCH VERSION ${PODOFO_PATCH_VER}")
+       set(LIBPODOFO_VERSION 
"${PODOFO_MAJOR_VER}.${PODOFO_MINOR_VER}.${PODOFO_PATCH_VER}" CACHE STRING 
"PoDoFo version string")
+       if(LIBPODOFO_VERSION VERSION_GREATER "0.9.4")
+-              find_package(OPENSSL)
++              find_package(OpenSSL)
+               if (OPENSSL_FOUND)
+                       message("OpenSSL found OK for installed version of 
PoDoFo (>= 0.9.5) - Enabling support for PDF embedded in AI")
+                       set(LIBPODOFO_FOUND TRUE CACHE BOOLEAN "Was libpodofo 
found")

diff --git a/app-office/scribus/scribus-1.5.3.ebuild 
b/app-office/scribus/scribus-1.5.3.ebuild
index 9f7a0a8ca01..d28665aead7 100644
--- a/app-office/scribus/scribus-1.5.3.ebuild
+++ b/app-office/scribus/scribus-1.5.3.ebuild
@@ -75,6 +75,7 @@ DEPEND="${COMMON_DEPEND}
 PATCHES=(
        "${FILESDIR}"/${P}-docdir.patch
        "${FILESDIR}"/${P}-fpic.patch
+       "${FILESDIR}"/${P}-cmake-openssl.patch
 )
 
 src_prepare() {

Reply via email to