diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2016-11-26 12:31:15 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2016-11-26 12:31:15 +0000 |
commit | 4fa2afe3ddff7a2d988fe68e47bad243cc19b656 (patch) | |
tree | 02ceb59e2898d11fdcfad3463a41b7d277a70ea4 | |
parent | f72d959f5769a78e891e898c5faea37242d6a457 (diff) | |
download | ports-4fa2afe3ddff7a2d988fe68e47bad243cc19b656.tar.gz ports-4fa2afe3ddff7a2d988fe68e47bad243cc19b656.zip |
Notes
-rw-r--r-- | print/scribus/files/patch-cmake_modules_FindHUNSPELL.cmake | 12 | ||||
-rw-r--r-- | print/scribus/files/patch-scribus_plugins_tools_hunspellcheck_hunspelldict.cpp | 11 |
2 files changed, 23 insertions, 0 deletions
diff --git a/print/scribus/files/patch-cmake_modules_FindHUNSPELL.cmake b/print/scribus/files/patch-cmake_modules_FindHUNSPELL.cmake new file mode 100644 index 000000000000..99800ad9f7ef --- /dev/null +++ b/print/scribus/files/patch-cmake_modules_FindHUNSPELL.cmake @@ -0,0 +1,12 @@ +--- cmake/modules/FindHUNSPELL.cmake.orig 2012-04-10 20:15:53 UTC ++++ cmake/modules/FindHUNSPELL.cmake +@@ -9,7 +9,8 @@ + #Based on examples at http://www.vtk.org/Wiki/CMake:How_To_Find_Libraries + + FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx ) +-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.3 hunspell-1.2 PATHS /opt/local/lib /usr/local/lib /usr/lib ) ++FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2 ++ PATHS /opt/local/lib /usr/local/lib /usr/lib ) + + INCLUDE(FindPackageHandleStandardArgs) + # handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE diff --git a/print/scribus/files/patch-scribus_plugins_tools_hunspellcheck_hunspelldict.cpp b/print/scribus/files/patch-scribus_plugins_tools_hunspellcheck_hunspelldict.cpp new file mode 100644 index 000000000000..fddcc1ea23a0 --- /dev/null +++ b/print/scribus/files/patch-scribus_plugins_tools_hunspellcheck_hunspelldict.cpp @@ -0,0 +1,11 @@ +--- scribus/plugins/tools/hunspellcheck/hunspelldict.cpp.orig 2012-11-20 22:49:14 UTC
++++ scribus/plugins/tools/hunspellcheck/hunspelldict.cpp
+@@ -19,7 +19,7 @@ HunspellDict::HunspellDict(const QString
+ m_hunspell = new Hunspell(affPath.toLocal8Bit().constData(), dictPath.toLocal8Bit().constData());
+ if (m_hunspell)
+ {
+- char* dictEncoding = m_hunspell->get_dic_encoding();
++ const char* dictEncoding = m_hunspell->get_dic_encoding();
+ if (dictEncoding)
+ encoding = QString::fromLatin1(dictEncoding);
+ }
|