commit: a72cbf07ef19a027c6e62b86a8cff3adfa52be13 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Fri Dec 30 01:18:36 2016 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Fri Dec 30 01:18:36 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a72cbf07
kde-apps/lokalize: Fix configure w/ hunspell-1.6 Gentoo-bug: 603538 Package-Manager: portage-2.3.0 .../files/lokalize-16.12.0-hunspell-1.6.patch | 26 ++++++++++++++++++++++ kde-apps/lokalize/lokalize-16.12.0.ebuild | 2 ++ 2 files changed, 28 insertions(+) diff --git a/kde-apps/lokalize/files/lokalize-16.12.0-hunspell-1.6.patch b/kde-apps/lokalize/files/lokalize-16.12.0-hunspell-1.6.patch new file mode 100644 index 00000000..064a526 --- /dev/null +++ b/kde-apps/lokalize/files/lokalize-16.12.0-hunspell-1.6.patch @@ -0,0 +1,26 @@ +From f9fed4dea08f99432111cb3ed89b1783ba2bc64b Mon Sep 17 00:00:00 2001 +From: Nick Shaforostoff <sha...@ukr.net> +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 + diff --git a/kde-apps/lokalize/lokalize-16.12.0.ebuild b/kde-apps/lokalize/lokalize-16.12.0.ebuild index 114af6a..da04c1b 100644 --- a/kde-apps/lokalize/lokalize-16.12.0.ebuild +++ b/kde-apps/lokalize/lokalize-16.12.0.ebuild @@ -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