Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/lokalize/files/, kde-apps/lokalize/
Date: Fri, 30 Dec 2016 01:21:50
Message-Id: 1483060716.a72cbf07ef19a027c6e62b86a8cff3adfa52be13.asturm@gentoo
1 commit: a72cbf07ef19a027c6e62b86a8cff3adfa52be13
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 30 01:18:36 2016 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 30 01:18:36 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a72cbf07
7
8 kde-apps/lokalize: Fix configure w/ hunspell-1.6
9
10 Gentoo-bug: 603538
11
12 Package-Manager: portage-2.3.0
13
14 .../files/lokalize-16.12.0-hunspell-1.6.patch | 26 ++++++++++++++++++++++
15 kde-apps/lokalize/lokalize-16.12.0.ebuild | 2 ++
16 2 files changed, 28 insertions(+)
17
18 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
19 new file mode 100644
20 index 00000000..064a526
21 --- /dev/null
22 +++ b/kde-apps/lokalize/files/lokalize-16.12.0-hunspell-1.6.patch
23 @@ -0,0 +1,26 @@
24 +From f9fed4dea08f99432111cb3ed89b1783ba2bc64b Mon Sep 17 00:00:00 2001
25 +From: Nick Shaforostoff <shafff@×××.net>
26 +Date: Mon, 21 Nov 2016 13:09:21 +0200
27 +Subject: BUG: 363278
28 +
29 +improve cmake hunspell search
30 +---
31 + cmake/FindHUNSPELL.cmake | 2 +-
32 + 1 file changed, 1 insertion(+), 1 deletion(-)
33 +
34 +diff --git a/cmake/FindHUNSPELL.cmake b/cmake/FindHUNSPELL.cmake
35 +index eca3cc1..ae8e564 100644
36 +--- a/cmake/FindHUNSPELL.cmake
37 ++++ b/cmake/FindHUNSPELL.cmake
38 +@@ -14,7 +14,7 @@ ENDIF (HUNSPELL_INCLUDE_DIR AND HUNSPELL_LIBRARIES)
39 +
40 + FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
41 +
42 +-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-2.0 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2)
43 ++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)
44 +
45 + # handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if
46 + # all listed variables are TRUE
47 +--
48 +cgit v0.11.2
49 +
50
51 diff --git a/kde-apps/lokalize/lokalize-16.12.0.ebuild b/kde-apps/lokalize/lokalize-16.12.0.ebuild
52 index 114af6a..da04c1b 100644
53 --- a/kde-apps/lokalize/lokalize-16.12.0.ebuild
54 +++ b/kde-apps/lokalize/lokalize-16.12.0.ebuild
55 @@ -45,6 +45,8 @@ RDEPEND="${DEPEND}
56 dev-python/translate-toolkit[${PYTHON_USEDEP}]
57 "
58
59 +PATCHES=( "${FILESDIR}/${P}"-hunspell-1.6.patch )
60 +
61 pkg_setup() {
62 python-single-r1_pkg_setup
63 kde5_pkg_setup