diff options
Diffstat (limited to 'hunspell')
-rw-r--r-- | hunspell/hunspell-1.2.8.patch | 14 | ||||
-rw-r--r-- | hunspell/makefile.mk | 7 |
2 files changed, 19 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"); diff --git a/hunspell/makefile.mk b/hunspell/makefile.mk index bb11a95f3cce..c8d8d5c91a41 100644 --- a/hunspell/makefile.mk +++ b/hunspell/makefile.mk @@ -71,7 +71,14 @@ OUT2LIB=$(BUILD_DIR)$/src$/hunspell$/.libs$/libhunspell-1.2.a .IF "$(GUI)"=="WNT" +.IF "$(COM)"=="GCC" +CONFIGURE_ACTION=configure +CONFIGURE_FLAGS= --disable-shared --with-pic +BUILD_ACTION=make +OUT2LIB=$(BUILD_DIR)$/src$/hunspell$/.libs$/libhunspell-1.2.a +.ELSE BUILD_ACTION=cd src/hunspell && dmake +.ENDIF .ENDIF # "$(GUI)"=="WNT" .IF "$(GUI)"=="OS2" |