kde-apps/lokalize: Fix configure w/ hunspell-1.6
authorAndreas Sturmlechner <asturm@gentoo.org>
Fri, 30 Dec 2016 01:18:36 +0000 (02:18 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Fri, 30 Dec 2016 01:18:36 +0000 (02:18 +0100)
Gentoo-bug: 603538

Package-Manager: portage-2.3.0

kde-apps/lokalize/files/lokalize-16.12.0-hunspell-1.6.patch [new file with mode: 0644]
kde-apps/lokalize/lokalize-16.12.0.ebuild

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 (file)
index 0000000..064a526
--- /dev/null
@@ -0,0 +1,26 @@
+From f9fed4dea08f99432111cb3ed89b1783ba2bc64b Mon Sep 17 00:00:00 2001
+From: Nick Shaforostoff <shafff@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
+
index 114af6ad0abb0497f04f77d6aec5d3035d20e1f0..da04c1b9e852bbfcc380211abce83a02401fe05d 100644 (file)
@@ -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