summaryrefslogtreecommitdiff
path: root/hunspell/hunspell-1.2.8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'hunspell/hunspell-1.2.8.patch')
-rw-r--r--hunspell/hunspell-1.2.8.patch14
1 files changed, 12 insertions, 2 deletions
diff --git a/hunspell/hunspell-1.2.8.patch b/hunspell/hunspell-1.2.8.patch
index 9b14f9b86fe3..a1e5a356e388 100644
--- a/hunspell/hunspell-1.2.8.patch
+++ b/hunspell/hunspell-1.2.8.patch
@@ -475,7 +475,17 @@
#ifndef HUNSPELL_EXTRA
#define suggest_auto suggest
#endif
-@@ -98,8 +108,10 @@
+@@ -28,7 +38,9 @@
+
+ #ifdef WIN32
+
++#ifndef __MINGW32__
+ #define gettext
++#endif
+ #define LIBDIR "C:\\Hunspell\\"
+ #define USEROOODIR "Application Data\\OpenOffice.org 2\\user\\wordbook"
+ #define OOODIR \
+@@ -98,8 +110,10 @@
#if ENABLE_NLS
#ifdef HAVE_LOCALE_H
#include <locale.h>
@@ -486,7 +496,7 @@
#ifdef HAVE_LIBINTL_H
#include <libintl.h>
-@@ -1385,9 +1397,11 @@
+@@ -1385,9 +1399,11 @@
#ifdef HAVE_LOCALE_H
ui_lang = setlocale(LC_ALL, "");
textdomain("hunspell");