forked from pool/sonnet
This commit is contained in:
parent
6455004202
commit
44d52578cf
24
look-for-hunspell-1.6-as-well.patch
Normal file
24
look-for-hunspell-1.6-as-well.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From b077be472324550b2f3c7264b9efd51115b069ce Mon Sep 17 00:00:00 2001
|
||||
From: Pino Toscano <pino@kde.org>
|
||||
Date: Sat, 31 Dec 2016 12:06:57 +0100
|
||||
Subject: cmake: look for hunspell-1.6 as well
|
||||
|
||||
---
|
||||
cmake/FindHUNSPELL.cmake | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/cmake/FindHUNSPELL.cmake b/cmake/FindHUNSPELL.cmake
|
||||
index d5ed183..545dc61 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-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2)
|
||||
+FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.6 hunspell-1.5 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
|
||||
--
|
||||
cgit v0.11.2
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 8 16:57:22 UTC 2017 - hrvoje.senjan@gmail.com
|
||||
|
||||
- Add look-for-hunspell-1.6-as-well.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 4 02:06:48 UTC 2016 - hrvoje.senjan@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package sonnet
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -43,6 +43,8 @@ Group: System/GUI/KDE
|
||||
Url: http://www.kde.org
|
||||
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
|
||||
Source1: baselibs.conf
|
||||
# PATCH-FIX-UPSTREAM look-for-hunspell-1.6-as-well.patch
|
||||
Patch0: look-for-hunspell-1.6-as-well.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -92,6 +94,7 @@ HSpell, Enchant, ASpell and HUNSPELL. Development files.
|
||||
%lang_package -n libKF5SonnetCore%sonum
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build -- -Dlconvert_executable=%{_kf5_libdir}/qt5/bin/lconvert
|
||||
|
Loading…
Reference in New Issue
Block a user