Skip to content

Commit

Permalink
kde-apps/lokalize: Fix configure w/ hunspell-1.6
Browse files Browse the repository at this point in the history
Gentoo-bug: 603538

Package-Manager: portage-2.3.0
  • Loading branch information
a17r committed Dec 30, 2016
1 parent d4dd78e commit a72cbf0
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions kde-apps/lokalize/files/lokalize-16.12.0-hunspell-1.6.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From f9fed4dea08f99432111cb3ed89b1783ba2bc64b Mon Sep 17 00:00:00 2001
From: Nick Shaforostoff <[email protected]>
Date: Mon, 21 Nov 2016 13:09:21 +0200
Subject: BUG: 363278

improve cmake hunspell search
---
cmake/FindHUNSPELL.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/FindHUNSPELL.cmake b/cmake/FindHUNSPELL.cmake
index eca3cc1..ae8e564 100644
--- a/cmake/FindHUNSPELL.cmake
+++ b/cmake/FindHUNSPELL.cmake
@@ -14,7 +14,7 @@ ENDIF (HUNSPELL_INCLUDE_DIR AND HUNSPELL_LIBRARIES)

FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )

-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-2.0 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2)
+FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-2.0 hunspell-1.5 hunspell-1.4.1 hunspell-1.4 hunspell-1.3 hunspell-1.2 hunspell)

# handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if
# all listed variables are TRUE
--
cgit v0.11.2

2 changes: 2 additions & 0 deletions kde-apps/lokalize/lokalize-16.12.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ RDEPEND="${DEPEND}
dev-python/translate-toolkit[${PYTHON_USEDEP}]
"

PATCHES=( "${FILESDIR}/${P}"-hunspell-1.6.patch )

pkg_setup() {
python-single-r1_pkg_setup
kde5_pkg_setup
Expand Down

0 comments on commit a72cbf0

Please sign in to comment.