[packages/kf5-sonnet] - fix building with hunspell 1.6 - rel 3
baggins
baggins at pld-linux.org
Sat Apr 22 01:10:11 CEST 2017
commit f3b2ac976e2059a7e2dd75d975c7be66a1f22492
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Apr 22 01:09:38 2017 +0200
- fix building with hunspell 1.6
- rel 3
hunspell-1.6.patch | 11 +++++++++++
kf5-sonnet.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/kf5-sonnet.spec b/kf5-sonnet.spec
index 585b895..f312ec9 100644
--- a/kf5-sonnet.spec
+++ b/kf5-sonnet.spec
@@ -7,11 +7,12 @@
Summary: Multi-language spell checker
Name: kf5-%{kfname}
Version: 5.24.0
-Release: 2
+Release: 3
License: LGPL v2.1+
Group: X11/Libraries
Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
# Source0-md5: 2b6d47648a14410eb236d5fe2923600d
+Patch0: hunspell-1.6.patch
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: Qt5Gui-devel >= %{qtver}
@@ -57,6 +58,7 @@ Pliki nagłówkowe dla programistów używających %{kfname}.
%prep
%setup -q -n %{kfname}-%{version}
+%patch0 -p1
%build
install -d build
diff --git a/hunspell-1.6.patch b/hunspell-1.6.patch
new file mode 100644
index 0000000..b552441
--- /dev/null
+++ b/hunspell-1.6.patch
@@ -0,0 +1,11 @@
+--- sonnet-5.24.0/cmake/FindHUNSPELL.cmake~ 2016-07-03 11:30:50.000000000 +0200
++++ sonnet-5.24.0/cmake/FindHUNSPELL.cmake 2017-04-22 01:07:50.309650961 +0200
+@@ -14,7 +14,7 @@
+
+ FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
+
+-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.4 hunspell-1.3 hunspell-1.2)
++FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.6 hunspell-1.4 hunspell-1.3 hunspell-1.2)
+
+ # handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if
+ # all listed variables are TRUE
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kf5-sonnet.git/commitdiff/f3b2ac976e2059a7e2dd75d975c7be66a1f22492
More information about the pld-cvs-commit
mailing list