File leechcraft-0.6.70-6645-gcd10d7e-hunspell14.diff of Package leechcraft
commit 5a27b58a2202647246c0cb163681af67357108b7
Author: 0xd34df00d <0xd34df00d@gmail.com>
Date: Sat Apr 30 12:27:06 2016 -0400
[Rosenthal] Try finding hunspell-1.4.
Fixes Fedora 25 build.
diff --git a/src/plugins/rosenthal/cmake/FindHunspell.cmake b/src/plugins/rosenthal/cmake/FindHunspell.cmake
index 95e09b7..e7945c8 100644
--- a/src/plugins/rosenthal/cmake/FindHunspell.cmake
+++ b/src/plugins/rosenthal/cmake/FindHunspell.cmake
@@ -28,7 +28,7 @@ if (WIN32)
${HUNSPELL_DIR}/src/win_api/Release_dll/libhunspell)
endif ()
-find_library (HUNSPELL_LIBRARIES NAMES hunspell-1.3 hunspell-1.2 libhunspell HINTS ${HUNSPELL_DIR} ${PROBE_DIR})
+find_library (HUNSPELL_LIBRARIES NAMES hunspell-1.4 hunspell-1.3 hunspell-1.2 libhunspell HINTS ${HUNSPELL_DIR} ${PROBE_DIR})
find_path (HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx HINTS ${HUNSPELL_DIR} ${HUNSPELL_INCLUDE_WIN32})
# handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if