Skip to content

Commit

Permalink
app-office/scribus: Patch openssl determination in cmake
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Lecher <[email protected]>
Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
jlec committed Dec 20, 2017
1 parent de11ac2 commit baa2b7d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions app-office/scribus/files/scribus-1.5.3-cmake-openssl.patch
Original file line number Diff line number Diff line change
@@ -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")
1 change: 1 addition & 0 deletions app-office/scribus/scribus-1.5.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ DEPEND="${COMMON_DEPEND}
PATCHES=(
"${FILESDIR}"/${P}-docdir.patch
"${FILESDIR}"/${P}-fpic.patch
"${FILESDIR}"/${P}-cmake-openssl.patch
)

src_prepare() {
Expand Down

0 comments on commit baa2b7d

Please sign in to comment.