sonnet/sonnet-hunspell-1.4.patch
Hrvoje Senjan b1b4fb7f7a Accepting request 393311 from home:dimstar:Factory
- Add sonnet-hunspell-1.4.patch: detect hunspell 1.4.x.

The patch has NOT been submitted upstream yet. Please assist on that.

OBS-URL: https://build.opensuse.org/request/show/393311
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/sonnet?expand=0&rev=90
2016-05-02 15:06:55 +00:00

26 lines
854 B
Diff

From 19fe077169fc0aa3b43c4d61ed642541d1b12d58 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Mon, 2 May 2016 16:09:32 +0200
Subject: [PATCH] build: detect Hunspell 1.4 branch
---
cmake/FindHUNSPELL.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/FindHUNSPELL.cmake b/cmake/FindHUNSPELL.cmake
index 26942b5..f028abe 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.3 hunspell-1.2)
+FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES 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
--
2.8.1