]> git.pld-linux.org Git - packages/kf5-sonnet.git/commitdiff
- fix building with hunspell 1.6 auto/th/kf5-sonnet-5.24.0-3
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 21 Apr 2017 23:09:38 +0000 (01:09 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 21 Apr 2017 23:09:38 +0000 (01:09 +0200)
- rel 3

hunspell-1.6.patch [new file with mode: 0644]
kf5-sonnet.spec

diff --git a/hunspell-1.6.patch b/hunspell-1.6.patch
new file mode 100644 (file)
index 0000000..b552441
--- /dev/null
@@ -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
index 585b895322ee77f60fe6437af84bf574a18c74cc..f312ec92d03959a5dcc3ca5e1ef5a08381e6ef14 100644 (file)
@@ -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
This page took 0.360739 seconds and 4 git commands to generate.