diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-04-16 15:05:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-04-18 09:32:39 +0100 |
commit | 072b32442e3f6f220936a93ad1fcbde57746b747 (patch) | |
tree | e8ee5a3c85456bca8a2995707b377c611764d586 | |
parent | 0ef6945b494ee86ed601fb9b09613cb4825040b1 (diff) |
try next hunspell 1.4.0 prerelease milestone
try using reverse iterators here then
and remove dictmgr which we don't seem to use or need
Change-Id: I981fccc4ca7562d5ab707dc2f605e409169dec07
-rw-r--r-- | download.lst | 2 | ||||
-rw-r--r-- | external/hunspell/StaticLibrary_hunspell.mk | 1 | ||||
-rw-r--r-- | external/hunspell/UnpackedTarball_hunspell.mk | 1 | ||||
-rw-r--r-- | external/hunspell/hunspell-iterator.patch.1 | 22 | ||||
-rw-r--r-- | lingucomponent/source/spellcheck/spell/sspellimp.cxx | 1 |
5 files changed, 1 insertions, 26 deletions
diff --git a/download.lst b/download.lst index 19f727f4c040..6512589403ad 100644 --- a/download.lst +++ b/download.lst @@ -61,7 +61,7 @@ export GRAPHITE_TARBALL := 4311dd9ace498b57c85f611e0670df64-graphite2-minimal-1. export HARFBUZZ_MD5SUM := 0e27e531f4c4acff601ebff0957755c2 export HARFBUZZ_TARBALL := harfbuzz-0.9.40.tar.bz2 export HSQLDB_TARBALL := 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip -export HUNSPELL_TARBALL := 29de3467b11bde5a7743a93abeb8c0c8-hunspell-1.4.0.tar.gz +export HUNSPELL_TARBALL := f95a5452e064fac41c85a70bba1728c5-hunspell-1.4.0.tar.gz export HYPHEN_TARBALL := 5ade6ae2a99bc1e9e57031ca88d36dad-hyphen-2.8.8.tar.gz export ICU_TARBALL := 976734806026a4ef8bdd17937c8898b9-icu4c-57_1-src.tgz export JFREEREPORT_FLOW_ENGINE_TARBALL := ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip diff --git a/external/hunspell/StaticLibrary_hunspell.mk b/external/hunspell/StaticLibrary_hunspell.mk index 29fe6249d37f..d69e5a5a3adc 100644 --- a/external/hunspell/StaticLibrary_hunspell.mk +++ b/external/hunspell/StaticLibrary_hunspell.mk @@ -23,7 +23,6 @@ $(eval $(call gb_StaticLibrary_add_defs,hunspell,\ $(eval $(call gb_StaticLibrary_add_generated_cxxobjects,hunspell,\ UnpackedTarball/hunspell/src/hunspell/affentry \ UnpackedTarball/hunspell/src/hunspell/affixmgr \ - UnpackedTarball/hunspell/src/hunspell/dictmgr \ UnpackedTarball/hunspell/src/hunspell/csutil \ UnpackedTarball/hunspell/src/hunspell/hashmgr \ UnpackedTarball/hunspell/src/hunspell/suggestmgr \ diff --git a/external/hunspell/UnpackedTarball_hunspell.mk b/external/hunspell/UnpackedTarball_hunspell.mk index 3aae5798af0e..943e78830133 100644 --- a/external/hunspell/UnpackedTarball_hunspell.mk +++ b/external/hunspell/UnpackedTarball_hunspell.mk @@ -13,7 +13,6 @@ $(eval $(call gb_UnpackedTarball_set_tarball,hunspell,$(HUNSPELL_TARBALL))) $(eval $(call gb_UnpackedTarball_add_patches,hunspell,\ external/hunspell/hunspell-solaris.patch \ - external/hunspell/hunspell-iterator.patch.1 \ )) ifeq ($(COM),MSC) diff --git a/external/hunspell/hunspell-iterator.patch.1 b/external/hunspell/hunspell-iterator.patch.1 deleted file mode 100644 index 046d6e0063a4..000000000000 --- a/external/hunspell/hunspell-iterator.patch.1 +++ /dev/null @@ -1,22 +0,0 @@ -MSVC debug runtime iterators don't want to be decremented past begin() - ---- hunspell/src/hunspell/affixmgr.cxx.orig 2016-04-15 23:30:37.555875079 +0200 -+++ hunspell/src/hunspell/affixmgr.cxx 2016-04-15 23:30:43.669875027 +0200 -@@ -4638,7 +4638,7 @@ - return; - - int neg = 0; -- for (std::string::iterator k = piece.begin() + piece.size() - 1; k >= piece.begin(); --k) { -+ for (std::string::iterator k = piece.begin() + piece.size() - 1; ; --k) { - switch (*k) { - case '[': { - if (neg) -@@ -4666,6 +4666,8 @@ - *(k + 1) = *k; - } - } -+ if (k == piece.begin()) -+ break; - } - } - diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx index 6979a33e4b04..a9a15757d50f 100644 --- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx +++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx @@ -31,7 +31,6 @@ #include <lingutil.hxx> #include <hunspell.hxx> -#include <dictmgr.hxx> #include <sspellimp.hxx> #include <linguistic/lngprops.hxx> |