summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2016-12-30 02:18:36 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2016-12-30 02:18:36 +0100
commita72cbf07ef19a027c6e62b86a8cff3adfa52be13 (patch)
tree1e02f18292403822de68a380f85221aee10932c6 /kde-apps/lokalize
parentsci-visualization/labplot: Fix configure (diff)
downloadgentoo-a72cbf07ef19a027c6e62b86a8cff3adfa52be13.tar.gz
gentoo-a72cbf07ef19a027c6e62b86a8cff3adfa52be13.tar.bz2
gentoo-a72cbf07ef19a027c6e62b86a8cff3adfa52be13.zip
kde-apps/lokalize: Fix configure w/ hunspell-1.6
Gentoo-bug: 603538 Package-Manager: portage-2.3.0
Diffstat (limited to 'kde-apps/lokalize')
-rw-r--r--kde-apps/lokalize/files/lokalize-16.12.0-hunspell-1.6.patch26
-rw-r--r--kde-apps/lokalize/lokalize-16.12.0.ebuild2
2 files changed, 28 insertions, 0 deletions
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 000000000000..064a5261cb7f
--- /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 <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
+
diff --git a/kde-apps/lokalize/lokalize-16.12.0.ebuild b/kde-apps/lokalize/lokalize-16.12.0.ebuild
index 114af6ad0abb..da04c1b9e852 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