summaryrefslogtreecommitdiff
path: root/hunspell
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-07-02 08:46:59 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-07-02 08:46:59 +0000
commit8f7e4b56db3a93cd0be8b09b716534cd28c6bc02 (patch)
tree637fefa5d8cc9e2d7b6e482d19a7008104f1c1e0 /hunspell
parent4bb85e3cb69e384f0c1bf89516b3cc63c1c8dc12 (diff)
INTEGRATION: CWS mingwport14 (1.11.6); FILE MERGED
2008/06/21 14:22:13 tono 1.11.6.1: #i90950#: mingw port
Diffstat (limited to 'hunspell')
-rw-r--r--hunspell/hunspell-1.1.12.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/hunspell/hunspell-1.1.12.patch b/hunspell/hunspell-1.1.12.patch
index 32acc5eb9e16..37b7964b28d8 100644
--- a/hunspell/hunspell-1.1.12.patch
+++ b/hunspell/hunspell-1.1.12.patch
@@ -10,6 +10,18 @@
am__api_version="1.9"
+--- misc/hunspell-1.1.12/intl/localename.c 2007-04-06 17:05:34.000000000 +0900
++++ misc/build/hunspell-1.1.12/intl/localename.c 2008-06-20 19:47:59.000875000 +0900
+@@ -140,6 +140,9 @@
+ # ifndef LANG_SINDHI
+ # define LANG_SINDHI 0x59
+ # endif
++# ifndef LANG_SORBIAN
++# define LANG_SORBIAN 0x2e
++# endif
+ # ifndef LANG_SLOVAK
+ # define LANG_SLOVAK 0x1b
+ # endif
--- misc/hunspell-1.1.12/src/hunspell/affixmgr.cxx 2007-09-04 09:49:30.000000000 +0200
+++ misc/build/hunspell-1.1.12/src/hunspell/affixmgr.cxx 2008-04-23 22:59:31.000000000 +0200
@@ -25,6 +25,10 @@
@@ -304,6 +316,31 @@
// pass in address of array of char * pointers
// onlycompoundsug: probably bad suggestions (need for ngram sugs, too)
+--- misc/hunspell-1.1.12/src/tools/hunspell.cxx 2007-07-24 20:47:52.000000000 +0900
++++ misc/build/hunspell-1.1.12/src/tools/hunspell.cxx 2008-06-20 20:06:35.469625000 +0900
+@@ -85,8 +85,10 @@
+ #if ENABLE_NLS
+ #ifdef HAVE_LOCALE_H
+ #include <locale.h>
++#ifdef HAVE_LANGINFO_CODESET
+ #include <langinfo.h>
+ #endif
++#endif
+
+ #ifdef HAVE_LIBINTL_H
+ #include <libintl.h>
+@@ -1227,9 +1229,11 @@
+ #ifdef HAVE_LOCALE_H
+ ui_lang = setlocale(LC_ALL, "");
+ textdomain("hunspell");
++#ifdef HAVE_LANGINFO_CODESET
+ ui_enc = nl_langinfo(CODESET);
+ #endif
+ #endif
++#endif
+
+ #ifdef HAVE_READLINE
+ rl_set_key("", rl_escape, rl_get_keymap());
--- misc/hunspell-1.1.12/tests/Makefile.am Tue Sep 4 01:25:35 2007
+++ misc/build/hunspell-1.1.12/tests/Makefile.am Wed Jun 18 11:53:11 2008
@@ -6,29 +6,18 @@